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 就可以了
使用hibernate时出现 could not interpret id generator strategy: UUID 在hibernate2.1中,主键生成策略中uuid分为uuid.hex和uuid.string,但是从hibernate3.0开始已经不再支持uuid.string 所以将主键生成策略改为uuid.hex 就可以了
暂无评论。
评论功能维护中,当前仅展示历史评论。