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.  [ 2 posts ] 
Author Message
 Post subject: How to execute database update script when server starts ?
PostPosted: Sat Jun 26, 2010 1:46 pm 
Newbie

Joined: Sat Jun 26, 2010 1:35 pm
Posts: 1
Hi All,

Does anybody know how to launch database update script when server starts ? I need to update database with additional sequence after hibernate database creation process.

Do you know any database management framework which allows to update database incrementally ?

Thank you very much.


Top
 Profile  
 
 Post subject: Re: How to execute database update script when server starts ?
PostPosted: Sat Jun 26, 2010 2:36 pm 
Newbie

Joined: Sat Jun 26, 2010 2:23 pm
Posts: 4
If you are talking about Web or J2ee Server, you can always write the servlet (listener) to get loaded on start up and it can call the Java part to execute what you want.
Sorry if i have understood your question wrong. If Db i am not sure.
Thanks


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

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.