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: How setting Xdoclet mapping lazy="true" on a class
PostPosted: Thu Nov 17, 2005 8:03 am 
Beginner
Beginner

Joined: Tue Sep 20, 2005 4:32 am
Posts: 29
Location: Cluj-Napoca
Hi,

I use the next XDoclet mapping into a class:

* @hibernate.class table="Sold" lazy="true"

but into the. hbm file a have just:

<class
name="com.mysite.resources.Sold"
table="Sold"
dynamic-update="false"
dynamic-insert="false"
>

I don't know why lazy="true" is not generated into the .hbm file.
I use maven to generate the mapping files.

Thanks, Cristian.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 1:00 pm 
Newbie

Joined: Tue Oct 11, 2005 4:38 pm
Posts: 7
in hibernate 3 lazy="true" is default. Perhaps thats the reason.


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.