ITeye博客

could not interpret id generator strategy: UUID

daoshud1 · 2011-03-18 09:52 · hibernate · 企业架构 · Markdown

使用hibernate时出现 could not interpret id generator strategy: UUID 在hibernate2.1中,主键生成策略中uuid分为uuid.hex和uuid.string,但是从hibernate3.0开始已经不再支持uuid.string 所以将主键生成策略改为uuid.hex 就可以了

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。