mybatis-oracle new sequence

1. Reference

https://blog.csdn.net/qq_29001173/article/details/82106853

2. Thinking:

2.1 Get the next sequence value: seq_car.nextval

2.2 Gets the current value of the sequence: seq_car.currval

2.3 query sequence: select seq_car.currval as id from dual

Guess you like

Origin www.cnblogs.com/6xiaoxian9/p/11005116.html