@Id
@GenericGenerator(name = "uuid",strategy = "uuid")
@GeneratedValue(generator = "uuid")
private String id;
spring-data-jpa hiberneate 中 uui的生成策略
最新推荐文章于 2022-01-24 14:51:23 发布
@Id
@GenericGenerator(name = "uuid",strategy = "uuid")
@GeneratedValue(generator = "uuid")
private String id;