A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Executing sql script at JBoss startup
Joined: Aug 25, 2009
Aug 27, 2009 04:46:39
I have following scenario:
startup, I want to update all rows in a Table where the status is 'Running' to 'Failed'. I feel this is a pretty common problem and looking for a commonly used solution for this.
Thanks in advance,
Joined: Sep 29, 2008
Aug 27, 2009 08:22:29
I'd just use a context startup listener or something.
I agree. Here's the link:
subject: Executing sql script at JBoss startup
JBoss Startup and Shutdown classes
environment variable problem
Configuring a Startup class
Jboss start on system bootup
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015