Package org.hibernate.query.results
Class ResultsHelper
- java.lang.Object
-
- org.hibernate.query.results.ResultsHelper
-
public class ResultsHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
attributeName(ModelPart identifierMapping)
static DomainResult
convertIdFetchToResult(Fetch fetch, DomainResultCreationState creationState)
static DomainResultCreationStateImpl
impl(DomainResultCreationState creationState)
static DomainResult
implicitIdentifierResult(EntityIdentifierMapping identifierMapping, EntityIdentifierNavigablePath idPath, DomainResultCreationState creationState)
static boolean
isIdentifier(EntityIdentifierMapping identifierDescriptor, String... names)
static int
jdbcPositionToValuesArrayPosition(int jdbcPosition)
static Expression
resolveSqlExpression(DomainResultCreationStateImpl resolver, JdbcValuesMetadata jdbcValuesMetadata, TableReference tableReference, SelectableMapping selectableMapping, String columnAlias)
static int
valuesArrayPositionToJdbcPosition(int valuesArrayPosition)
-
-
-
Method Detail
-
jdbcPositionToValuesArrayPosition
public static int jdbcPositionToValuesArrayPosition(int jdbcPosition)
-
valuesArrayPositionToJdbcPosition
public static int valuesArrayPositionToJdbcPosition(int valuesArrayPosition)
-
impl
public static DomainResultCreationStateImpl impl(DomainResultCreationState creationState)
-
resolveSqlExpression
public static Expression resolveSqlExpression(DomainResultCreationStateImpl resolver, JdbcValuesMetadata jdbcValuesMetadata, TableReference tableReference, SelectableMapping selectableMapping, String columnAlias)
-
isIdentifier
public static boolean isIdentifier(EntityIdentifierMapping identifierDescriptor, String... names)
-
implicitIdentifierResult
public static DomainResult implicitIdentifierResult(EntityIdentifierMapping identifierMapping, EntityIdentifierNavigablePath idPath, DomainResultCreationState creationState)
-
convertIdFetchToResult
public static DomainResult convertIdFetchToResult(Fetch fetch, DomainResultCreationState creationState)
-
-