And beyond that the getHibernateSesion and closeHibernateSession are not boolean options they are places where you specify a snippet of Java code to get/close the hibernate session. For example
<hibernateDAO/> daoSuffix="JULSOF" getHibernateSession="com.mycompany.util.HibernateUtil.getSession();" closeHibernateSession="com.mycompany.util.HibernateUtil.closeSession( session );" Ben On Tue, 26 Oct 2004, Eivind Waaler wrote: > > <hibernateDAO/> > > daoSuffix="JULSOF" > > getHibernateSession="true" > > closeHibernateSession="true" > > This should probably be: > > <hibernateDAO > daoSuffix="JULSOF" > getHibernateSession="true" > closeHibernateSession="true"/> > > The closing of the element was in the wrong place. > > .eivind > > On Mon, 25 Oct 2004, zousey seyzou wrote: > > > Buildfile: build.xml > > > > init: > > > > fail-if-no-xdoclet-1.2: > > > > check-driver-present: > > > > panic-if-driver-not-present: > > > > Hello forum i am trying to run C:\GNU\WinCvs > > 1.3\CVSNT\middlegen7\samples\build.xml > > and have the following in my build.xml > > > > <hibernate> > > destination="${build.gen-src.dir}" > > package="${name}.hibernate" > > genXDocletTags="true" > > > > javaTypeMapper="middlegen.plugins.hibernate.HibernateJavaTypeMapper" > > <hibernateDAO/> > > daoSuffix="JULSOF" > > getHibernateSession="true" > > closeHibernateSession="true" > > </hibernate> > > and i am having the following errors. > > > > middlegen: > > [middlegen] Database URL:jdbc:oracle:thin:@localhost:1521:dbPUS > > > > BUILD FAILED > > C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples\build.xml:228: Class > > middlegen.plugins.hibernate.HibernatePlugin doesn't support nested text > > data. > > > > Total time: 2 seconds > > C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples> > > > > _________________________________________________________________ > > Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/ > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > middlegen-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user