javaee论坛

普通会员

225648

帖子

343

回复

357

积分

楼主
发表于 2017-06-22 04:57:57 | 查看: 169 | 回复: 1
@GeneratedValue(generator = "idGenerator")



实例如下

< code_snippet_id="1840753" snippet_file_name="blog_20160819_1_3983552" name="code" class="html"> @Id @GenericGenerator(name="systemUUID",strategy="uuid") @GeneratedValue(generator="systemUUID") @Column(name = "actid", insertable = true, updatable = true, nullable = false)


普通会员

0

帖子

332

回复

338

积分
沙发
发表于 2022-05-11 02:22:46

如果你智商能再高点,也许我会上当

您需要登录后才可以回帖 登录 | 立即注册

触屏版| 电脑版

技术支持 历史网 V2.0 © 2016-2017