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

更多推荐

could not interpret id generator strategy: UUID