dvas0004 / NerdNotes

A collection of notes: things I'd like to remember while reading technical articles, technical questions I couldn't answer, and so on.
12 stars 0 forks source link

Spring Postgres Generation Strategy #96

Open dvas0004 opened 5 years ago

dvas0004 commented 5 years ago

Best to use GenerationType.SEQUENCE since it is highly optimized for postgres, avoids unnecessary SELECT statements

dvas0004 commented 5 years ago

https://thoughts-on-java.org/hibernate-postgresql-5-things-need-know/