@GeneratedValue(generator = "paymentableGenerator" @GeneratedValue(generator = "paymentableGenerator") @GenericGenerator(name = "paymentableGenerator",strategy = "identity") 这个paymentableGenerator可以是其他名字吗?比如@GeneratedValue(gen

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 10:20:58
@GeneratedValue(generator="paymentableGenerator"@GeneratedValue(generator="paymentableGenerator")@Ge

@GeneratedValue(generator = "paymentableGenerator" @GeneratedValue(generator = "paymentableGenerator") @GenericGenerator(name = "paymentableGenerator",strategy = "identity") 这个paymentableGenerator可以是其他名字吗?比如@GeneratedValue(gen
@GeneratedValue(generator = "paymentableGenerator"
@GeneratedValue(generator = "paymentableGenerator")
@GenericGenerator(name = "paymentableGenerator",strategy = "identity")
这个paymentableGenerator可以是其他名字吗?比如
@GeneratedValue(generator = "hehe")
@GenericGenerator(name = "hehe",strategy = "identity")
paymentableGenerator,为什么是这个名字,如何才能让我彻底理解呢?

@GeneratedValue(generator = "paymentableGenerator" @GeneratedValue(generator = "paymentableGenerator") @GenericGenerator(name = "paymentableGenerator",strategy = "identity") 这个paymentableGenerator可以是其他名字吗?比如@GeneratedValue(gen
随便写吧 只要能对应上,因为HibernateAPI是这么写的,所以就这么用了吧