Can anyone help me how can I refresh/update existing, and running hibernate/Spring application to a newer version?
To changethe source override the war in tomcat. In Hibernate persistence.xml hibernate.hbm2ddl.auto = check - and this not refresh the db structure, only check.
My problem is in database. In the second version of the app I got much more different entity/table strucutre.
How can I upgrade the existing structure and data to the other? Write SQL scripts, and exec it in database directly?
Is it any method for table upgradeing in java/hibernate?
Thanks