Discussion:
[Middlegen-user] middlegen.plugins.hibernate.HibernatePlugin doesn't support nested text data.
zousey seyzou
2004-10-26 04:28:02 UTC
Permalink
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/
Eivind Waaler
2004-10-26 04:34:01 UTC
Permalink
Post by zousey seyzou
<hibernateDAO/>
daoSuffix=3D"JULSOF"
getHibernateSession=3D"true"
closeHibernateSession=3D"true"
This should probably be:

<hibernateDAO
daoSuffix=3D"JULSOF"
getHibernateSession=3D"true"
closeHibernateSession=3D"true"/>

The closing of the element was in the wrong place.

=2Eeivind
Post by zousey seyzou
Buildfile: build.xml
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=3D"${build.gen-src.dir}"
package=3D"${name}.hibernate"
genXDocletTags=3D"true"
javaTypeMapper=3D"middlegen.plugins.hibernate.HibernateJavaTypeMapper"
<hibernateDAO/>
daoSuffix=3D"JULSOF"
getHibernateSession=3D"true"
closeHibernateSession=3D"true"
=09</hibernate>
and i am having the following errors.
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=E5 alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.d=
k/
Post by zousey seyzou
-------------------------------------------------------
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 mo=
re
Post by zousey seyzou
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Ben Litchfield
2004-10-26 09:28:15 UTC
Permalink
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=3D"JULSOF"

getHibernateSession=3D"com.mycompany.util.HibernateUtil.getSession();"

closeHibernateSession=3D"com.mycompany.util.HibernateUtil.closeSession(
session );"

Ben
Post by zousey seyzou
Post by zousey seyzou
<hibernateDAO/>
daoSuffix=3D"JULSOF"
getHibernateSession=3D"true"
closeHibernateSession=3D"true"
<hibernateDAO
daoSuffix=3D"JULSOF"
getHibernateSession=3D"true"
closeHibernateSession=3D"true"/>
The closing of the element was in the wrong place.
.eivind
Post by zousey seyzou
Buildfile: build.xml
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=3D"${build.gen-src.dir}"
package=3D"${name}.hibernate"
genXDocletTags=3D"true"
javaTypeMapper=3D"middlegen.plugins.hibernate.HibernateJavaTypeMapper"
<hibernateDAO/>
daoSuffix=3D"JULSOF"
getHibernateSession=3D"true"
closeHibernateSession=3D"true"
=09</hibernate>
and i am having the following errors.
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=E5 alle de nye og sjove ikoner med MSN Messenger http://messenger.msn=
=2Edk/
Post by zousey seyzou
Post by zousey seyzou
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJourna=
l
Post by zousey seyzou
Post by zousey seyzou
Use IT products in your business? Tell us what you think of them. Give =
us
Post by zousey seyzou
Post by zousey seyzou
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out =
more
Post by zousey seyzou
Post by zousey seyzou
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
middlegen-user mailing list
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 mo=
re
Post by zousey seyzou
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...