-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: xdoclet 1.2.2 CVS
PostPosted: Wed Oct 13, 2004 8:55 am 
Beginner
Beginner

Joined: Sat Oct 09, 2004 2:35 pm
Posts: 43
Location: Tenerife
Hibernate version:2.1.6

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


I do not know if this is the right place to send this problem but as I see that people from hibernate makes changes in xdoclet, I send it:

Using xdoclet CVS 1.2.2 and setting hibernate version to 2.1 in build.xml, I do not get property-ref params from may-to-one relations generated in hbm files but if I use version 2.0, everything works fine.


Top
 Profile  
 
 Post subject: Yeah...
PostPosted: Wed Oct 13, 2004 11:33 am 
Beginner
Beginner

Joined: Mon Sep 27, 2004 4:28 pm
Posts: 44
The docs say:

version Sets the hibernate version to use. Legal values are "1.1" and "2.0".

I'm using hibernate 2.1.6 with that version of xdoclet as well. I put 2.0 as the version number. So far the only thing I've had issues with is that there's not implementation for "batch-size".

If some momentum is needed on the hibernate xdoclet stuff to keep up I'd be more than happy to do the work, as I've had a lot of doclet experience.

Phill


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2004 12:27 pm 
Beginner
Beginner

Joined: Sat Oct 09, 2004 2:35 pm
Posts: 43
Location: Tenerife
I was using version 2.0 till doc from xdoclet CVS 1.2.2 says that you can set a 2.1 relase


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2004 1:42 pm 
Beginner
Beginner

Joined: Sat Oct 09, 2004 2:35 pm
Posts: 43
Location: Tenerife
I have been looking at xdoclet source and the problem is that many sources seem to be comparing version to 2.0 when they had to compare to greater or equal 2.0, e.g.:
src/xdoclet/modules/hibernate/ersources/hibernate-properties.xdt file says:
<XDtConfig:ifConfigParamEquals paramName="version" value="2.0">

and it had to say:
<XDtConfig:ifConfigParamGreaterOrEquals paramName="version" value="2.0">

because, if not, it is nonsense to use version="2.1", instead you are subverting to 1.1.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 7:50 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Please forward these issues to the XDoclet lists or XDoclet JIRA. That way they can be addressed.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.