spring-data-jpa hiberneate 中 uui的生成策略

来源:互联网 发布:石家庄百度seo公司 编辑:程序博客网 时间:2024/06/14 04:26
@Id@GenericGenerator(name = "uuid",strategy = "uuid")@GeneratedValue(generator = "uuid")private String id;
原创粉丝点击