Hibernate version:
3.2.2
I getting ArrayIndexOutOfBoundsException during update object by rowid, the cause is this method in AbstractEntityPersister
Code:
protected String[] getSQLUpdateByRowIdStrings() {
if ( sqlUpdateByRowIdString == null ) {
throw new AssertionFailure( "no update by row id" );
}
String[] result = new String[getTableSpan()];
result[0] = sqlUpdateByRowIdString;
System.arraycopy( sqlUpdateStrings, 1, result, 1, getTableSpan() );
return result;
}
this code always lead to AOOBE, and was introdused in 3.2.2. Am i right?