This content has been marked as final.
Show 1 reply
-
1. Re: Initializing database
wjm Apr 5, 2007 12:12 PM (in response to jcv)If you mean that you'd like to create the database automatically that's easy. You can tell hibernate to do the job for you. See
http://wiki.jboss.org/wiki/Wiki.jsp?page=UseHibernateToCreateJbpmDB
for details on how to do that. Otoh, if you want to update your existing database to reflect changes you've made in the mappings and code, you'll have to check to see whether hibernate's automatic schema creation supports changes. I'm not sure about that, and if so, I suspect it's limited support. Probably better to add/remove columns yourself.