Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing sql script at JBoss startup

 
Vivek Punekar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have following scenario:
At JBoss 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,
Vivek
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd just use a context startup listener or something.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic