This content has been marked as final.
Show 1 reply
-
1. Re: export DDL from EJB3 deployment
jaikiran Jul 29, 2009 7:50 AM (in response to ricardotemporal)Are you talking about the SQLs generated by JPA (/Hibernate) to auto create your tables?
The reason is that I do not want that Jboss creates or drops any tables in my database automatically, it is important for me to control this manually.
This can be controlled through the persistence.xml file. If you remove the hibernate.hbm2ddl.auto property from the persistence.xml then the tables will not be created/deleted.