[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2499) incorrect assertion failure relating to generated property values

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 19 15:05:08 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2499?page=all ]
     
Steve Ebersole closed HHH-2499:
-------------------------------

    Resolution: Fixed

trunk / 3.2

> incorrect assertion failure relating to generated property values
> -----------------------------------------------------------------
>
>          Key: HHH-2499
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2499
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Reporter: Steve Ebersole
>     Assignee: Steve Ebersole
>     Priority: Trivial
>      Fix For: 3.2.3

>
>
> bad copy/paste job; AbstractEntityPersister:
> 	public void processUpdateGeneratedProperties(Serializable id, Object entity, Object[] state, SessionImplementor session) {
> 		if ( !hasInsertGeneratedProperties() ) {
> 			throw new AssertionFailure("no update-generated properties");
> 		}
> 		processGeneratedProperties( id, entity, state, session, sqlUpdateGeneratedValuesSelectString, getPropertyUpdateGenerationInclusions() );
> 	}
> should read:
> 	public void processUpdateGeneratedProperties(Serializable id, Object entity, Object[] state, SessionImplementor session) {
> 		if ( !hasUpdateGeneratedProperties() ) {
> 			throw new AssertionFailure("no update-generated properties");
> 		}
> 		processGeneratedProperties( id, entity, state, session, sqlUpdateGeneratedValuesSelectString, getPropertyUpdateGenerationInclusions() );
> 	}

-- 
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