Why SEQUENCE is usually better than IDENTITY .
Understanding how JPA interacts with the underlying JDBC driver. vlad mihalcea high-performance java persistence pdf
This is the heart of the book for Spring and Jakarta EE developers. Why SEQUENCE is usually better than IDENTITY