主键生成策略

一般分为四种主键生成器: 1,assigned:程序员自己控制 2,identity(标识列/自动增长)Oracle数据库用:sequence (需要到主配置文件(dialect)改成Oracle数据库) 3,increment uuid/uuid.hex:hibernate控制 4 其它:native
相关文章
相关标签/搜索