I\'m having trouble with the ordering of the columns in my composite primary key. I have a table that contains the following:
@Embeddable public class Messa
I really don't think there is a way to do this. All I can do is suggest you use the SQL create statement you have (change it to have the correct order) and run it manually in production.
In tests let Hibernate do its thing.