JPA autogenerate id from a starting point without creating that separate id table – Mysql
In JPA I want to autogenerate an integer primary key where the generation should start from, say, 1000. I'm new to JPA and I have used IDENTITY type earlier to avoid those extra id tables that JPA otherwise generates. I've…