On 07/13/2010 08:22 AM, Lev wrote: > hi, > > would anybody happen to know how to recreate (drop, then > create) a database with stripersist? > > further, do you know how to drop/create a specific table > within a database? > > i'm using hibernate with stripersist.
Do you want to change the structure of the table at runtime? If you do not want to change the structure you could use a simple truncate query. I use this property in my persistance.xml to update tables when I deploy my application: <!-- e.g. validate | update | create | create-drop --> <property name="hibernate.hbm2ddl.auto" value="update" /> > > thank you for you help, > lev Thomas ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users