2015年1月27日

hibernate annotation生成uuid主键(id为string类型的)

摘要: hibernateannotation生成uuid主键(2012-02-07 15:18:43)转载▼标签:uuid主键注解杂谈分类: javaWeb JPA标准方式下,不可以生成uuid类型的主键,但是hibernate提供了一些方式生成uuid主键,具体方式,1,通过注解方式生成一个genera... 阅读全文

posted @ 2015-01-27 16:24 飞飞飞飞飞 阅读(555) 评论(0) 推荐(0) 编辑

导航