From: <one...@us...> - 2003-04-16 06:30:57
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/proxy In directory sc8-pr-cvs1:/tmp/cvs-serv13811/proxy Modified Files: CGLIBLazyInitializer.java Log Message: bugfixes from 2.0 stream * now uses interface proxies correctly * bugfixes to Filters * reference to self for a native id Index: CGLIBLazyInitializer.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/proxy/CGLIBLazyInitializer.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CGLIBLazyInitializer.java 26 Nov 2002 03:35:44 -0000 1.6 --- CGLIBLazyInitializer.java 16 Apr 2003 06:30:54 -0000 1.7 *************** *** 24,28 **** try { return (HibernateProxy) Enhancer.enhance( ! persistentClass, interfaces, new CGLIBLazyInitializer(persistentClass, interfaces, id, getIdentifierMethod, session), --- 24,28 ---- try { return (HibernateProxy) Enhancer.enhance( ! (interfaces.length==1) ? persistentClass : null, interfaces, new CGLIBLazyInitializer(persistentClass, interfaces, id, getIdentifierMethod, session), |