From: <one...@us...> - 2003-02-02 04:19:54
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister In directory sc8-pr-cvs1:/tmp/cvs-serv29352/sf/hibernate/persister Modified Files: AbstractEntityPersister.java Log Message: smarter dirty-checking for EntityType Index: AbstractEntityPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/AbstractEntityPersister.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** AbstractEntityPersister.java 28 Jan 2003 10:22:20 -0000 1.11 --- AbstractEntityPersister.java 2 Feb 2003 04:19:51 -0000 1.12 *************** *** 242,247 **** * Determine if the given field values are dirty */ ! public int[] findDirty(Object[] x, Object[] y, Object owner, SessionImplementor session) throws HibernateException { ! int[] props = TypeFactory.findDirty( propertyTypes, x, y, propertyUpdateability, owner, session.getFactory() ); if ( props==null) { return null; --- 242,247 ---- * Determine if the given field values are dirty */ ! public int[] findDirty(Object[] x, Object[] y, Object object, SessionImplementor session) throws HibernateException { ! int[] props = TypeFactory.findDirty(propertyTypes, x, y, propertyUpdateability, session); if ( props==null) { return null; |