We're updating the issue view to help you get more done. 

ManyToOneType.isDirty

Description

public boolean isDirty(
Object old,
Object current,
SessionImplementor session) throws HibernateException {
if ( isSame( old, current ) ) {
return false;
}
Object oldid = getIdentifier( old, session );
Object newid = getIdentifier( current, session );
return getIdentifierType( session ).isDirty( oldid, newid, session );
}

return getIdentifierType( session ).isDirty( oldid, newid, session );

==>

return getIdentifierOrUniqueKeyType( session ).isDirty( oldid, newid, session );

Environment

h 4.3.5 oracle 11gr2

Status

Assignee

Unassigned

Reporter

xinhuil

Labels

Suitable for new contributors

Yes, likely

Requires Release Note

Affirmative

Components

Affects versions

4.3.5

Priority

Blocker