hibernate.hbm2ddl.autoparameter in your hibernate config
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????
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:
there are better tools for database updates: