This content has been marked as final.
Show 3 replies
-
1. Re: database schema recreation while creating ProcessEngine object
mwohlf Sep 19, 2010 1:59 PM (in response to parvathy)check the
hibernate.hbm2ddl.auto
parameter in your hibernate config -
2. Re: database schema recreation while creating ProcessEngine object
parvathy Sep 20, 2010 1:51 AM (in response to mwohlf)thank a lot...i gave property name="hibernate.hbpm2ddl.auto" update earlier it was create-drop.... but i read in one site that update is not advisable in production enviornment...is it true??is there any problem if we give update for that property????
-
3. Re: database schema recreation while creating ProcessEngine object
mwohlf Sep 20, 2010 8:28 AM (in response to parvathy)you are right, it is not a good idea to rely on hibernate.hbpm2ddl.auto="update" to automatically do the tricky database updates for you
see this discussion:
http://stackoverflow.com/questions/221379/hibernate-hbm2ddl-autoupdate-in-production
there are better tools for database updates: