From: <one...@us...> - 2003-04-04 13:52:04
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister In directory sc8-pr-cvs1:/tmp/cvs-serv7478/hibernate/persister Modified Files: AbstractEntityPersister.java Log Message: added NonstrictReadWriteCache fixed problem with proxy.getId() for an interface proxy Index: AbstractEntityPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/AbstractEntityPersister.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** AbstractEntityPersister.java 29 Mar 2003 07:36:22 -0000 1.16 --- AbstractEntityPersister.java 4 Apr 2003 13:51:59 -0000 1.17 *************** *** 522,526 **** Method proxyGetter = identifierGetter.getMethod(); try { ! proxyGetter = ReflectHelper.getGetter( model.getProxyInterface(), identifierPropertyName ).getMethod(); } catch (Exception e) {} --- 522,530 ---- Method proxyGetter = identifierGetter.getMethod(); try { ! proxyGetter = ReflectHelper.getGetter( ! // model.getProxyInterface(), //we used this for old dynamic proxies ! mappedClass, //we use this for new CGLIB proxies ! identifierPropertyName ! ).getMethod(); } catch (Exception e) {} |