主鍵生成策略

一般分爲四種主鍵生成器: 1,assigned:程序員自己控制 2,identity(標識列/自動增長)Oracle數據庫用:sequence (需要到主配置文件(dialect)改成Oracle數據庫) 3,increment uuid/uuid.hex:hibernate控制 4 其它:native
相關文章
相關標籤/搜索