users@glassfish.java.net

Update database at deployment time?

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 May 2009 09:15:45 PDT

I am looking for a way to do a database update at the time of deployment. Right now, we are dropping an ear file in the autodeploy folder. What I would really like to see, if possible, is a way to package a script in the ear file that got executed when the ear was deployed to run the changes I want done to the database. Is this possible?

Thanks,
REM2500
[Message sent by forum member 'rem2500' (rem2500)]

http://forums.java.net/jive/thread.jspa?messageID=346114