Author: epbernard
Date: 2008-06-03 16:10:07 -0400 (Tue, 03 Jun 2008)
New Revision: 14731
Modified:
search/trunk/src/java/org/hibernate/search/engine/ObjectLoader.java
Log:
HSEARCH-196 ONFE not caught when oblectLoader.load is used
Modified: search/trunk/src/java/org/hibernate/search/engine/ObjectLoader.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/engine/ObjectLoader.java 2008-06-03
20:09:33 UTC (rev 14730)
+++ search/trunk/src/java/org/hibernate/search/engine/ObjectLoader.java 2008-06-03
20:10:07 UTC (rev 14731)
@@ -21,7 +21,7 @@
}
public Object load(EntityInfo entityInfo) {
- //be sure to get an initialized object
+ //be sure to get an initialized object but save from ONFE and ENFE
Object maybeProxy = session.load( entityInfo.clazz, entityInfo.id );
try {
Hibernate.initialize( maybeProxy );
Show replies by date