sequence « Default « JPA Q&A





1. JPA: Set default column value to sequence in database    stackoverflow.com

I am using Postgres as database and JPA 2.0 as provider. I had been using @GeneratedValue(strategy = GenerationType.IDENTITY) which generates its own sequence for that column and also executes this query ...