`
daoshud1
  • 浏览: 555199 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

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 就可以了
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics