Re: [Stripes-users] stripersist: recreating (drop/create) a database

2010-07-20 Thread Nikolaos Giannopoulos
Lev wrote: > from the previous emails, i understand that i can employ > the import.sql approach to create a database and can drop > a database by executing SQL commands. > > however, it seems to be a limitation not to be able to > do all of this programatically in the essence of the > hibernate Sch

Re: [Stripes-users] stripersist: recreating (drop/create) a database

2010-07-20 Thread Lev
On Tue, Jul 20, 2010 at 5:06 PM, Thomas Menke wrote: > > > Lev wrote: >>> I use this property in my persistance.xml to update tables when I deploy >>> my application: >>> >>> >>> >> >> i have tried setting the property "hibernate.hbm2ddl.auto" to >> both "update" and "create-drop". >> >> however

Re: [Stripes-users] stripersist: recreating (drop/create) a database

2010-07-20 Thread Thomas Menke
Lev wrote: >> I use this property in my persistance.xml to update tables when I deploy >> my application: >> >> >> > > i have tried setting the property "hibernate.hbm2ddl.auto" to > both "update" and "create-drop". > > however, in both cases, if i drop a table and then subsequently > try to

Re: [Stripes-users] stripersist: recreating (drop/create) a database

2010-07-20 Thread Lev
> I use this property in my persistance.xml to update tables when I deploy > my application: > > > i have tried setting the property "hibernate.hbm2ddl.auto" to both "update" and "create-drop". however, in both cases, if i drop a table and then subsequently try to access the table using a DAO,