@H_502_1@我试图使用没有@Id注释的生成的UUID,因为我的主键是别的东西.应用程序不会生成UUID,你有想法吗?
这是我的声明:
@Column(name = "APP_UUID",unique = true) @GeneratedValue(generator="system-uuid") @GenericGenerator(name="system-uuid",strategy = "uuid") private String uuid;
我正在使用Hibernate 4.3.0与Oracle10g.