0

every time when I make tables in MySQL using spring boot jpa I face the same problem that is the @Columns I specified in the @Entity Class will ordered differently on the database can any one help with that thank you very much all of you for your efforts

1 Answers1

0

Looks like this is not possible because Hibernate generates columns in alphabetical order. You can read this https://stackoverflow.com/a/1298327/7871511

Rohit Agarwal
  • 763
  • 2
  • 5
  • 10