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