use of org.hibernate.loader.plan.spi.EntityIdentifierDescription in project hibernate-orm by hibernate.
the class AbstractRowReader method resolveEntityKey.
private void resolveEntityKey(ResultSet resultSet, ResultSetProcessingContextImpl context, EntityReferenceInitializer entityReferenceInitializer) throws SQLException {
final EntityReference entityReference = entityReferenceInitializer.getEntityReference();
final EntityIdentifierDescription identifierDescription = entityReference.getIdentifierDescription();
if (identifierDescription.hasFetches() || identifierDescription.hasBidirectionalEntityReferences()) {
resolveEntityKey(resultSet, context, (FetchSource) identifierDescription);
}
entityReferenceInitializer.resolveEntityKey(resultSet, context);
}
Aggregations