-->
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.  [ 4 posts ] 
Author Message
 Post subject: setting lazy="false" using reveng.xml
PostPosted: Tue Aug 07, 2007 7:30 pm 
Beginner
Beginner

Joined: Mon Jul 09, 2007 2:21 pm
Posts: 24
How do i set lazy="true" attribute for many-to-one element through reveng.xml

for example,
i want to generate the following

<many-to-one name="test" class="com.xxx.model.Test" fetch="select" lazy="false">

i dont know how to generate "lazy=false" by using reveng.xml


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 08, 2007 4:43 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
not everything is controllable by reveng.xml ....contribute a patch if you think this is relevant ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 08, 2007 4:48 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
not everything is controllable by reveng.xml ....contribute a patch if you think this is relevant ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 08, 2007 2:04 pm 
Beginner
Beginner

Joined: Mon Jul 09, 2007 2:21 pm
Posts: 24
Is there any other way of accomplishing it?
using revengstrategy?

i just want to avoid handcoding hbm.xml and i am open to accomplishing this by any other means

Thanks for your reply


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