-->
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: Is lazy="true" equal to proxy="interface net.
PostPosted: Wed Jul 14, 2004 7:34 pm 
Beginner
Beginner

Joined: Thu Jul 01, 2004 1:30 pm
Posts: 20
Location: Tucson, AZ
In the <class> tag of .hbm.xml file. Are the above in the title equivalent? In XDoclet, the @hibernate.class doesn't have a property "lazy", but it does have "proxy". So I am just looking for a way of mapping a class as lazy in XDoclet.

Thanks,
Stan


Top
 Profile  
 
 Post subject: Sorry I mis-typed the last part of the title
PostPosted: Wed Jul 14, 2004 7:49 pm 
Beginner
Beginner

Joined: Thu Jul 01, 2004 1:30 pm
Posts: 20
Location: Tucson, AZ
It should be ...

proxy="net.sf.hibernate.proxy.HibernateProxy"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 14, 2004 8:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
<class name="Foo" proxy="Foo">

is equivalent to

<class name="Foo" lazy="true">


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 14, 2004 9:10 pm 
Beginner
Beginner

Joined: Thu Jul 01, 2004 1:30 pm
Posts: 20
Location: Tucson, AZ
Thank you so much Gavin!
BTW, I am reading your Hibernate in Action book. It's a great book!
Best,
Stan


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.