0
What is the equivalent of @GeneratedValue annotation in spring-data-jdbc.
I'm using springboot with dependency of spring-data-jdbc and I want to autoincrement my primary key's value but using my code and not updating my database to do autoincrement. In spring-data-jpa you have the annotation @GeneratedValue but how to do this in spring-data-jdbc? Please explain with code if possible
1 Odpowiedź