-->
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.  [ 2 posts ] 
Author Message
 Post subject: xdoclet ignores lazy=false for many-to-one relationship
PostPosted: Tue May 26, 2009 3:35 pm 
Newbie

Joined: Wed Feb 18, 2009 12:56 pm
Posts: 5
I am using xdoclet 1.2.3 and hibernate 3.0. I am using many-to-one annotation like the following

/**
* @hibernate.many-to-one cascade="none" column="other_table_pk" insert="false" update="false" lazy=false fetch="join"
*/

I wanted the other relationship fetched so i set the lazy=false. Regardless of what options i use, lazy=false attribute is ignored. The resulting hbm files does not have that.

I have seen discussion in the previous version of xdoclet, but has anyone have an idea on how to fix this in Hibernate 3.0 with xdoclet 1.2.3?

btw: hibernate version is set to 3.0 in build.xml to ensure 3.0 compatibility.

Any help is greatly appreciated.

Thx!


Top
 Profile  
 
 Post subject: Re: xdoclet ignores lazy=false for many-to-one relationship
PostPosted: Tue Jun 02, 2009 7:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Try XDoclet 2.0 http://xdoclet.codehaus.org/ as its had a number of tag updates for later versions of hibernate.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.