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
|
@Override
|
||||||
public Serializable getIdentifier(Object entity, SharedSessionContractImplementor session) {
|
public Serializable getIdentifier(Object entity, SharedSessionContractImplementor session) {
|
||||||
return (Serializable) getIdentifierMapping().getPropertyAccess().getGetter().get( entity );
|
return (Serializable) identifierMapping.getPropertyAccess().getGetter().get( entity );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session) {
|
public void setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session) {
|
||||||
getIdentifierMapping().getPropertyAccess().getSetter().set( entity, id, getFactory() );
|
identifierMapping.getPropertyAccess().getSetter().set( entity, id, factory );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -103,7 +103,6 @@ public class SmokeTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@FailureExpected( reason = "Support for entity-values DomainResults not yet implemented")
|
|
||||||
public void testSelectEntityHqlExecution(SessionFactoryScope scope) {
|
public void testSelectEntityHqlExecution(SessionFactoryScope scope) {
|
||||||
scope.inTransaction(
|
scope.inTransaction(
|
||||||
session -> {
|
session -> {
|
||||||
|
|
Loading…
Reference in New Issue