hibernate主键generator属性介绍
摘要:
increment(递增) 用于为long, short或者int类型生成唯一标识。只有在没有其他进程往同一张表中插入数据时才能使用。 在集群下不要使用。identity (标识)对DB2,MySQL, MS SQL Server, Sybase和HypersonicSQL的内置标识字段提供支持。返 阅读全文
posted @ 2016-04-29 16:39 Eternalisland 阅读(286) 评论(0) 推荐(0) 编辑