-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: trigger database post creation event
PostPosted: Thu Jul 15, 2010 5:53 am 
Newbie

Joined: Fri Apr 09, 2010 5:49 am
Posts: 10
I have an Hibernate application where the DB schema is created through HBM2DDL.
Thus I have
<property name="hibernate.hbm2ddl.auto" value="update" />.

I would need to change slightly the schema after it has been created for the first time and the DB is empty, thus I would need to execute some custom SQL code.
How can i trigger to the database creation event ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.