HHH-13725 - Implement ManyToOne associations

This commit is contained in:
Andrea Boriero 2019-11-14 21:22:04 +00:00 committed by Steve Ebersole
parent 0094236d98
commit b986ef1ea8
2 changed files with 2 additions and 2 deletions

View File

@ -5411,7 +5411,7 @@ public abstract class AbstractEntityPersister
@Override
public Object getIdentifier(Object entity, SharedSessionContractImplementor session) {
return (Serializable) identifierMapping.getPropertyAccess().getGetter().get( entity );
return identifierMapping.getPropertyAccess().getGetter().get( entity );
}
@Override

View File

@ -47,7 +47,7 @@ public class EntityWithManyToOneJoinTableTest {
// }
@Test
@FailureExpected
// @FailureExpected
public void testSave(SessionFactoryScope scope) {
EntityWithManyToOneJoinTable entity = new EntityWithManyToOneJoinTable( 1, "first", Integer.MAX_VALUE );