Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/proxy
In directory usw-pr-cvs1:/tmp/cvs-serv24773/hibernate/proxy
Modified Files:
CGLIBLazyInitializer.java
Log Message:
fixed a bug with embedded composite-ids and outerjoin fetching
Index: CGLIBLazyInitializer.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/proxy/CGLIBLazyInitializer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CGLIBLazyInitializer.java 2 Nov 2002 14:32:13 -0000 1.4
--- CGLIBLazyInitializer.java 7 Nov 2002 10:10:59 -0000 1.5
***************
*** 4,14 ****
import java.io.Serializable;
import java.lang.reflect.Method;
import cirrus.hibernate.HibernateException;
import cirrus.hibernate.engine.SessionImplementor;
!
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
/**
*
--- 4,17 ----
import java.io.Serializable;
import java.lang.reflect.Method;
+
+ import org.apache.commons.logging.LogFactory;
import cirrus.hibernate.HibernateException;
import cirrus.hibernate.engine.SessionImplementor;
!
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
+
/**
*
***************
*** 28,31 ****
--- 31,35 ----
}
catch (Throwable t) {
+ LogFactory.getLog(LazyInitializer.class).error("CGLIB Enhancement failed", t);
throw new HibernateException( "CGLIB Enhancement failed", t );
}
|