HHH-13725 - Implement ManyToOne associations
This commit is contained in:
parent
0094236d98
commit
b986ef1ea8
|
@ -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
|
||||
|
|
|
@ -47,7 +47,7 @@ public class EntityWithManyToOneJoinTableTest {
|
|||
// }
|
||||
|
||||
@Test
|
||||
@FailureExpected
|
||||
// @FailureExpected
|
||||
public void testSave(SessionFactoryScope scope) {
|
||||
EntityWithManyToOneJoinTable entity = new EntityWithManyToOneJoinTable( 1, "first", Integer.MAX_VALUE );
|
||||
|
||||
|
|
Loading…
Reference in New Issue