I want to use my sample roo application with real data. I use postgresql and wrote an sql file that fills the database once I started tomcat via "mvn tomcat:run". What do I have to do that the database is not reset after restarting tomcat?
Many thx
I want to use my sample roo application with real data. I use postgresql and wrote an sql file that fills the database once I started tomcat via "mvn tomcat:run". What do I have to do that the database is not reset after restarting tomcat?
Many thx
Found the solution: Changed hibernate.hbm2ddl.auto in persistence.xml to update.
That is correct. Just be aware that changes to your domain model (and therefore table model) will possibly cause some issues there. But as long as your domain model is fairly stable you should be good with the 'update' flag.
Stefan Schmidt
Software Engineer, Spring Roo
SpringSource - a division of VMware
twitter @schmidtstefan