As a newbie, I also vote for turning on by default. Once you get familiar with AppFuse and/or application frameworks, people will figure out how to turn off the hibernate plugin either be checking the mailing list or by having a look into the FAQ. The latter is one of my first sources I check once I get stuck. Therefore, it'll be great to covor common problems in the FAQ.
Martin Matt Raible-3 wrote: > > What do folks think, should we turn hbm2ddl off by default? Or leave > it on so the database is updated by default, and users have to do the > steps below to turn it off? > > Thanks, > > Matt > > On 1/28/07, Matt Raible <[EMAIL PROTECTED]> wrote: >> It's on by default in the base sessionFactory definition of AppFuse. >> Now that the hibernate3 plugin is working as expected, it might be a >> good idea to turn it off again. In the meantime, you should be able >> to either 1) create a src/main/resources/hibernate.properties with: >> >> hibernate.hbm2ddl.auto=false >> >> Or 2), you can define a bean definition as follows: >> >> <bean class="org.appfuse.dao.spring.HibernateExtensionPostProcessor"> >> <property name="hibernateProperties"> >> <value>hibernate.hbm2ddl.auto=false</value> >> </property> >> </bean> >> >> On 1/28/07, Jaime Geovane Marcondes <[EMAIL PROTECTED]> wrote: >> > >> > Hi. >> > We are migrating a old webapp from webwork to appfuse2.0-M2, and it >> speeding >> > up the development process. >> > Now we want to deploy the project, but when the project initializes, he >> > executes hibernate:hbm2ddl goal. How we can turn this off ? >> > >> > >> > Thanks! >> > -- >> > View this message in context: >> http://www.nabble.com/Turning-Off-hbm2ddl-tf3133830s2369.html#a8683543 >> > Sent from the AppFuse - User mailing list archive at Nabble.com. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> -- >> http://raibledesigns.com >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Turning-Off-hbm2ddl-tf3133830s2369.html#a11864918 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]