[hibernate-commits] Hibernate SVN: r11352 - branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Mar 28 12:03:29 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-03-28 12:03:29 -0400 (Wed, 28 Mar 2007)
New Revision: 11352

Modified:
   branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java
Log:
HHH-2469 : rowid

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	2007-03-28 16:03:18 UTC (rev 11351)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java	2007-03-28 16:03:29 UTC (rev 11352)
@@ -300,9 +300,9 @@
 		if ( sqlUpdateByRowIdString == null ) {
 			throw new AssertionFailure( "no update by row id" );
 		}
-		String[] result = new String[getTableSpan()];
+		String[] result = new String[getTableSpan() + 1];
 		result[0] = sqlUpdateByRowIdString;
-		System.arraycopy( sqlUpdateStrings, 1, result, 1, getTableSpan() );
+		System.arraycopy( sqlUpdateStrings, 0, result, 1, getTableSpan() );
 		return result;
 	}
 




More information about the hibernate-commits mailing list