ArrayIndexOutOfBoundsException during update by rowid
-----------------------------------------------------
Key: HHH-2469
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2469
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.2.2
Reporter: Maxim Gordienko
Priority: Critical
ArrayIndexOutOfBoundsException during update object by rowid, the cause is this method in
AbstractEntityPersister
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira