Initial working support for selecting a "query root" - i.e.
This commit is contained in:
parent
23c3c8949e
commit
c27c53f619
|
@ -5328,12 +5328,12 @@ public abstract class AbstractEntityPersister
|
|||
|
||||
@Override
|
||||
public Serializable getIdentifier(Object entity, SharedSessionContractImplementor session) {
|
||||
return (Serializable) getIdentifierMapping().getPropertyAccess().getGetter().get( entity );
|
||||
return (Serializable) identifierMapping.getPropertyAccess().getGetter().get( entity );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session) {
|
||||
getIdentifierMapping().getPropertyAccess().getSetter().set( entity, id, getFactory() );
|
||||
identifierMapping.getPropertyAccess().getSetter().set( entity, id, factory );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -103,7 +103,6 @@ public class SmokeTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
@FailureExpected( reason = "Support for entity-values DomainResults not yet implemented")
|
||||
public void testSelectEntityHqlExecution(SessionFactoryScope scope) {
|
||||
scope.inTransaction(
|
||||
session -> {
|
||||
|
|
Loading…
Reference in New Issue