[hibernate-commits] Hibernate SVN: r10826 - branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Nov 16 14:34:33 EST 2006
Author: steve.ebersole at jboss.com
Date: 2006-11-16 14:34:32 -0500 (Thu, 16 Nov 2006)
New Revision: 10826
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java
Log:
cleanup
Modified: branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java
===================================================================
--- branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java 2006-11-16 19:33:19 UTC (rev 10825)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java 2006-11-16 19:34:32 UTC (rev 10826)
@@ -847,14 +847,12 @@
final SessionImplementor session,
final Object[] snapshot,
final int j,
- final Object propValue
- ) {
+ final Object propValue) {
setPropertyValue( entity, lazyPropertyNumbers[j], propValue, session.getEntityMode() );
-
- if (snapshot != null) { // object have been loaded with setReadOnly(true); HHH-2236
+ if (snapshot != null) {
+ // object have been loaded with setReadOnly(true); HHH-2236
snapshot[ lazyPropertyNumbers[j] ] = lazyPropertyTypes[j].deepCopy( propValue, session.getEntityMode(), factory );
}
-
return fieldName.equals( lazyPropertyNames[j] );
}
More information about the hibernate-commits
mailing list