Re: [smartweb-user] Re : Re : Dev Environment Setup
Brought to you by:
rlogiacco
From: Roberto Lo G. <rlo...@sm...> - 2008-04-26 10:03:26
|
Just to clarify the two answers: if with the term "schema" you mean the database DDL the mvn process-classes will do the trick, but you have to change the dialect to match the correct database if with "schema" you mean the database schema, the preceeding procedure will generate only TABLE, SEQUENCE, CONSTRAINTS, etc... definitions but will not create the SCHEMA itself: you should create an AUTH schema by yourself. 2008/4/25 Stefano V <st...@gm...>: > Hello > Hibernate (I think..) doesn't support schema generation and consequently > smartweb too. you must do it "handmade" ... > If you use the hibernate feature to generate tables > > i.e. > <property name="hbm2ddl.auto">create</property> > inside smartweb.jar.hcf > > You have to create the schema script (in your own db dialect) before use > application. > > bye > Stefano Vetrini > > > 2008/4/24 Sébastien LE CALLONNEC <sl...@ya...>: > > > > > > > Hi All, > > > > Is there any script that can be executed to create the db schema for auth? > The only ones I've found so far are grants and inserts. > > > > > > > > Thanks, > > Sébastien. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > smartweb-user mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-user > > -- Roberto Lo Giacco |