is there anyway to use hbm2ddl in appfuse to have audit field for every object without adding attribute to the object.
----- Original Message ----- From: "Travers Snyman" <[EMAIL PROTECTED]> To: <users@appfuse.dev.java.net> Sent: Monday, July 30, 2007 11:21 AM Subject: RE: [appfuse-user] Turning Off hbm2ddl My vote is for leaving it off. I have dba's creating my ddl and more than often, use cases depend on actual data (static things) even in test environment. Travers -----Original Message----- From: tibi [mailto:[EMAIL PROTECTED] Sent: 30 July 2007 04:50 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Turning Off hbm2ddl please leave it on by default. i use it for testing and building. in deployment its is not in the way as long as you will not build against your life database. and it is easier to turn of than on ;) good luck tibi Martin Homik wrote: > 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] >> >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]