Thread:
 Proxies! 
 melquiades   19 Apr 2004, 17:08 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: melquiades (19 Apr 2004, 17:08) Replies: 0, Views: 39462
Subject: Proxies!
This page also needs to address proxies, which were the cause of most of
the discussion on this thread:

http://forum.hibernate.org/viewtopic.php?t=928172

Two very important conclusions came out of that thread: (1) you *must*
override eq/hc to use proxies, even if you don't mix objects from
different sessions, and (2) there is no way to cause eq/hc *not* to
inflate proxies, even if you're using a synthetic PK as the basis of
comparison.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]