Trafodion 自增序列
最近发现Trafodion在整合mybatis的时候不能使用useGenerateKeys="true"来设置自增主键。
后面了解了一下关于Trafodion实现自增列的方式。
Trafodion不能像MySQL那样设置主键自增,需要类似Oracle的方式使用到SEQUENCE
新建一个sequence testaaa;
SQL>create sequence testaaa;
--- SQL operation complete.
SQL>showddl sequence te..
原创
2021-01-05 18:38:32 ·
141 阅读 ·
0 评论