![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hibernate
imwangs
这个作者很懒,什么都没留下…
展开
-
could not interpret id generator strategy: UUID
使用hibernate时出现 could not interpret id generator strategy: UUID 在hibernate2.1中,主键生成策略中uuid分为uuid.hex和uuid.string,但是从hibernate3.0开始已经不再支持uuid.string 所以将主键生成策略改为uuid.hex 就可以了原创 2017-08-28 11:38:09 · 1931 阅读 · 0 评论 -
could not interpret id generator strategy: UUID
使用hibernate时出现 could not interpret id generator strategy: UUID 在hibernate2.1中,主键生成策略中uuid分为uuid.hex和uuid.string,但是从hibernate3.0开始已经不再支持uuid.string 所以将主键生成策略改为uuid.hex 就可以了...原创 2011-03-18 09:52:18 · 248 阅读 · 0 评论