Re: best way to apply database upgrades at startup

2010-11-07 Thread Thiago H. de Paula Figueiredo
On Sun, 07 Nov 2010 06:45:54 -0200, Paul Stanton wrote: Hi, Hi! Does this sound like a good approach or has someone done something similar in a smarter way? I think it is. The probably most correct and recommended way would be contributing a Runnable that executes your logic to the R

Re: best way to apply database upgrades at startup

2010-11-07 Thread Onno Scheffers
Have you tried LiquiBase (http://www.liquibase.org/)? It includes a ServletListener that allows you to update your database before you webapp fires up. I've only used it on a single project so far, but I'm pretty happy with it. regards, Onno On Sun, Nov 7, 2010 at 9:45 AM, Paul Stanton wrote