[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2469) ArrayIndexOutOfBoundsException during update by rowid

Maxim Gordienko (JIRA) noreply at atlassian.com
Mon Mar 5 08:19:32 EST 2007


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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list