[jboss-user] [JBoss jBPM] - Re: Initializing database

wjm do-not-reply at jboss.com
Thu Apr 5 12:12:06 EDT 2007


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.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035079#4035079

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035079



More information about the jboss-user mailing list