-->
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.  [ 6 posts ] 
Author Message
 Post subject: Help,what means proying ???
PostPosted: Thu Mar 22, 2007 12:36 pm 
Newbie

Joined: Fri Feb 16, 2007 8:19 am
Posts: 3
Hi,
i have read about "proying" in the specification but found no line where it is explained what that means.

Can someone help ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 7:57 am 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
Which specification? Any pointer to it to help us help you debunk it? :)

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 1:17 pm 
Newbie

Joined: Fri Feb 16, 2007 8:19 am
Posts: 3
Its in

http://www.hibernate.org/hib_docs/v3/re ... erence.pdf


4.1.3. Prefer non-final classes (optional)

A central feature of Hibernate, proxies, depends upon the persistent class being either non-final, or the implementation
of an interface that declares all public methods.
You can persist final classes that do not implement an interface with Hibernate, but you won't be able to use
proxies for lazy association fetching - which will limit your options for performance tuning.
You should also avoid declaring public final methods on the non-final classes. If you want to use a class
with a public final method, you must explicitly disable ------proying----- by setting lazy="false".

So what is proying ????


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 1:28 pm 
Regular
Regular

Joined: Fri May 12, 2006 4:05 am
Posts: 106
Looks like a typo to me - read that "proxying", i.e. using proxies.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 2:04 pm 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
piet.t wrote:
Looks like a typo to me - read that "proxying", i.e. using proxies.

Yes, obviously that's it.
I'll send a mail about this on the hibernate dev mailing list. Thanks.

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 2:08 pm 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
batmat wrote:
I'll send a mail about this on the hibernate dev mailing list. Thanks.

Done.
Update : It has been corrected, should be present in the next pdf (re)generation I guess.

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


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