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

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Blocker
Configure