[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2469) ArrayIndexOutOfBoundsException during update by rowid
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Mar 28 12:05:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-2469.
-------------------------------
Resolution: Fixed
trunk / 3.2
> ArrayIndexOutOfBoundsException during update by rowid
> -----------------------------------------------------
>
> Key: HHH-2469
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2469
> Project: Hibernate3
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2.2
> Environment: Oracle
> Reporter: Maxim Gordienko
> Assignee: Steve Ebersole
> Priority: Minor
> Fix For: 3.2.3
>
>
> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list