Author: epbernard
Date: 2008-06-03 16:09:33 -0400 (Tue, 03 Jun 2008)
New Revision: 14730
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
19:50:49 UTC (rev 14729)
+++ search/trunk/src/java/org/hibernate/search/engine/ObjectLoader.java 2008-06-03
20:09:33 UTC (rev 14730)
@@ -22,7 +22,7 @@
public Object load(EntityInfo entityInfo) {
//be sure to get an initialized object
- Object maybeProxy = session.get( entityInfo.clazz, entityInfo.id );
+ Object maybeProxy = session.load( entityInfo.clazz, entityInfo.id );
try {
Hibernate.initialize( maybeProxy );
}
Show replies by date