Uses of Interface
org.hibernate.sql.ast.tree.expression.JdbcParameter
-
Packages that use JdbcParameter Package Description org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.loader.ast.internal org.hibernate.query.sqm.mutation.internal.cte org.hibernate.query.sqm.mutation.internal.temptable Support for multi-table SQM mutation (insert, update, delete) operations using a table to temporarily hold the matching ids.org.hibernate.query.sqm.spi SPI-level SQM contractsorg.hibernate.query.sqm.sql Package for the translation of SQM into SQL ASTorg.hibernate.query.sqm.sql.internal org.hibernate.sql.ast Package defining a SQL AST for use in generation of SQL.org.hibernate.sql.ast.spi Package defining support for creating and consuming a SQL AST.org.hibernate.sql.ast.tree.predicate AST nodes representing logical predicates in a SQL tree.org.hibernate.sql.exec.internal Implementation of the SPI for execution of SQL statements via JDBC.org.hibernate.sql.exec.spi SPI for execution of SQL statements via JDBC.org.hibernate.sql.model.ast SQL AST extensions for model mutations. -
-
Uses of JdbcParameter in org.hibernate.internal
Classes in org.hibernate.internal that implement JdbcParameter Modifier and Type Class Description class
FilterJdbcParameter
-
Uses of JdbcParameter in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type JdbcParameter Modifier and Type Method Description static SelectStatement
LoaderSelectBuilder. createSelectBySingleArrayParameter(Loadable loadable, ValuedModelPart restrictedPart, LoadQueryInfluencers influencers, LockOptions lockOptions, JdbcParameter jdbcArrayParameter, SessionFactoryImplementor sessionFactory)
Create a select-statement (SQL AST) for loading by multiple keys using a single SQL ARRAY parameterstatic <R,K>
List<R>LoaderHelper. loadByArrayParameter(K[] idsToInitialize, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcOperation, JdbcParameter jdbcParameter, JdbcMapping arrayJdbcMapping, Object entityId, Object entityInstance, EntityMappingType rootEntityDescriptor, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load one or more instances of a model part (an entity or collection) based on a SQL ARRAY parameter to specify the keys (as opposed to the more traditional SQL IN predicate approach).Method parameters in org.hibernate.loader.ast.internal with type arguments of type JdbcParameter Modifier and Type Method Description protected abstract void
AbstractNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
Apply restriction necessary to match the given natural-id value.protected void
CompoundNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
protected void
SimpleNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
static SelectStatement
LoaderSelectBuilder. createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)
static SelectStatement
LoaderSelectBuilder. createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)
Create an SQL AST select-statement based on matching one-or-more keysstatic SelectStatement
LoaderSelectBuilder. createSelectByUniqueKey(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)
Create an SQL AST select-statement for loading by unique keystatic SelectStatement
LoaderSelectBuilder. createSubSelectFetchSelect(PluralAttributeMapping attributeMapping, SubselectFetch subselect, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)
Create an SQL AST select-statement used for subselect-based CollectionLoader -
Uses of JdbcParameter in org.hibernate.query.sqm.mutation.internal.cte
Method parameters in org.hibernate.query.sqm.mutation.internal.cte with type arguments of type JdbcParameter Modifier and Type Method Description protected abstract void
AbstractCteMutationHandler. addDmlCtes(CteContainer statement, CteStatement idSelectCte, MultiTableSqmMutationConverter sqmConverter, Map<SqmParameter<?>,List<JdbcParameter>> parameterResolutions, SessionFactoryImplementor factory)
protected void
CteDeleteHandler. addDmlCtes(CteContainer statement, CteStatement idSelectCte, MultiTableSqmMutationConverter sqmConverter, Map<SqmParameter<?>,List<JdbcParameter>> parameterResolutions, SessionFactoryImplementor factory)
protected String
CteInsertHandler. addDmlCtes(CteContainer statement, CteStatement queryCte, List<Map.Entry<List<CteColumn>,Assignment>> assignments, boolean assignsId, MultiTableSqmMutationConverter sqmConverter, Map<SqmParameter<?>,List<List<JdbcParameter>>> parameterResolutions, SessionFactoryImplementor factory)
protected void
CteUpdateHandler. addDmlCtes(CteContainer statement, CteStatement idSelectCte, MultiTableSqmMutationConverter sqmConverter, Map<SqmParameter<?>,List<JdbcParameter>> parameterResolutions, SessionFactoryImplementor factory)
-
Uses of JdbcParameter in org.hibernate.query.sqm.mutation.internal.temptable
Methods in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type JdbcParameter Modifier and Type Method Description protected TableBasedInsertHandler.ExecutionDelegate
TableBasedInsertHandler. buildExecutionDelegate(SqmInsertStatement<?> sqmInsert, MultiTableSqmMutationConverter sqmConverter, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor,String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup insertingTableGroup, Map<String,TableReference> tableReferenceByAlias, List<Assignment> assignments, InsertSelectStatement insertStatement, ConflictClause conflictClause, JdbcParameter sessionUidParameter, DomainQueryExecutionContext executionContext)
For Hibernate ReactiveConstructors in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type JdbcParameter Constructor Description InsertExecutionDelegate(SqmInsertStatement<?> sqmInsert, MultiTableSqmMutationConverter sqmConverter, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor,String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup insertingTableGroup, Map<String,TableReference> tableReferenceByAlias, List<Assignment> assignments, InsertSelectStatement insertStatement, ConflictClause conflictClause, JdbcParameter sessionUidParameter, DomainQueryExecutionContext executionContext)
-
Uses of JdbcParameter in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return types with arguments of type JdbcParameter Modifier and Type Method Description Map<SqmParameter<?>,List<List<JdbcParameter>>>
JdbcParameterBySqmParameterAccess. getJdbcParamsBySqmParam()
The mapping between an SqmParameter and all of its JDBC parameters -
Uses of JdbcParameter in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql that return types with arguments of type JdbcParameter Modifier and Type Method Description Map<SqmParameter<?>,List<List<JdbcParameter>>>
BaseSqmToSqlAstConverter. getJdbcParamsBySqmParam()
Map<SqmParameter<?>,List<List<JdbcParameter>>>
SqmTranslation. getJdbcParamsBySqmParam()
Map<SqmParameter<?>,List<List<JdbcParameter>>>
StandardSqmTranslation. getJdbcParamsBySqmParam()
Method parameters in org.hibernate.query.sqm.sql with type arguments of type JdbcParameter Modifier and Type Method Description protected Expression
BaseSqmToSqlAstConverter. consumeSqmParameter(SqmParameter<?> sqmParameter, MappingModelExpressible<?> valueMapping, BiConsumer<Integer,JdbcParameter> jdbcParameterConsumer)
Constructor parameters in org.hibernate.query.sqm.sql with type arguments of type JdbcParameter Constructor Description StandardSqmTranslation(T sqlAst, Map<SqmParameter<?>,List<List<JdbcParameter>>> jdbcParamMap, Map<SqmParameter<?>,MappingModelExpressible<?>> parameterMappingModelTypeMap, SqlExpressionResolver sqlExpressionResolver, FromClauseAccess fromClauseAccess)
-
Uses of JdbcParameter in org.hibernate.query.sqm.sql.internal
Constructor parameters in org.hibernate.query.sqm.sql.internal with type arguments of type JdbcParameter Constructor Description SqmParameterInterpretation(List<JdbcParameter> jdbcParameters, MappingModelExpressible<?> valueMapping)
-
Uses of JdbcParameter in org.hibernate.sql.ast
Methods in org.hibernate.sql.ast with parameters of type JdbcParameter Modifier and Type Method Description void
SqlAstWalker. visitParameter(JdbcParameter jdbcParameter)
-
Uses of JdbcParameter in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi that return JdbcParameter Modifier and Type Method Description protected JdbcParameter
AbstractSqlAstTranslator. getLimitParameter()
protected JdbcParameter
AbstractSqlAstTranslator. getOffsetParameter()
Methods in org.hibernate.sql.ast.spi that return types with arguments of type JdbcParameter Modifier and Type Method Description protected Map<JdbcParameter,JdbcParameterBinding>
AbstractSqlAstTranslator. getAppliedParameterBindings()
Methods in org.hibernate.sql.ast.spi with parameters of type JdbcParameter Modifier and Type Method Description protected void
AbstractSqlAstTranslator. addAppliedParameterBinding(JdbcParameter parameter, JdbcParameterBinding binding)
protected Object
AbstractSqlAstTranslator. getParameterBindValue(JdbcParameter parameter)
protected void
AbstractSqlAstTranslator. renderAsLiteral(JdbcParameter jdbcParameter, Object literalValue)
protected void
AbstractSqlAstTranslator. renderParameterAsParameter(int position, JdbcParameter jdbcParameter)
Renders a parameter marker for the given positionprotected void
AbstractSqlAstTranslator. renderParameterAsParameter(JdbcParameter jdbcParameter)
protected void
AbstractSqlAstTranslator. renderWrappedParameter(JdbcParameter jdbcParameter)
protected void
AbstractSqlAstTranslator. setLimitParameter(JdbcParameter limitParameter)
protected void
AbstractSqlAstTranslator. setOffsetParameter(JdbcParameter offsetParameter)
void
AbstractSqlAstTranslator. visitParameter(JdbcParameter jdbcParameter)
void
AbstractSqlAstWalker. visitParameter(JdbcParameter jdbcParameter)
void
AggregateFunctionChecker. visitParameter(JdbcParameter jdbcParameter)
void
ExpressionReplacementWalker. visitParameter(JdbcParameter jdbcParameter)
protected void
AbstractSqlAstTranslator. visitParameterAsParameter(JdbcParameter jdbcParameter)
-
Uses of JdbcParameter in org.hibernate.sql.ast.tree.predicate
Methods in org.hibernate.sql.ast.tree.predicate that return JdbcParameter Modifier and Type Method Description JdbcParameter
InArrayPredicate. getArrayParameter()
Constructors in org.hibernate.sql.ast.tree.predicate with parameters of type JdbcParameter Constructor Description InArrayPredicate(Expression testExpression, JdbcParameter arrayParameter)
InArrayPredicate(Expression testExpression, JdbcParameter arrayParameter, JdbcMappingContainer expressionType)
-
Uses of JdbcParameter in org.hibernate.sql.exec.internal
Classes in org.hibernate.sql.exec.internal that implement JdbcParameter Modifier and Type Class Description class
AbstractJdbcParameter
class
JdbcParameterImpl
class
SqlTypedMappingJdbcParameter
class
VersionTypeSeedParameterSpecification
Parameter bind specification used for optimistic lock version seeding (from insert statements).Methods in org.hibernate.sql.exec.internal that return types with arguments of type JdbcParameter Modifier and Type Method Description Map<JdbcParameter,JdbcParameterBinding>
JdbcCallImpl. getAppliedParameters()
Set<JdbcParameter>
JdbcParametersImpl. getJdbcParameters()
Methods in org.hibernate.sql.exec.internal with parameters of type JdbcParameter Modifier and Type Method Description void
JdbcParameterBindingsImpl. addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
void
JdbcParametersImpl. addParameter(JdbcParameter parameter)
JdbcParameterBinding
JdbcParameterBindingsImpl. getBinding(JdbcParameter parameter)
Method parameters in org.hibernate.sql.exec.internal with type arguments of type JdbcParameter Modifier and Type Method Description void
JdbcParametersImpl. addParameters(Collection<JdbcParameter> parameters)
void
JdbcParameterBindingsImpl. visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
-
Uses of JdbcParameter in org.hibernate.sql.exec.spi
Fields in org.hibernate.sql.exec.spi with type parameters of type JdbcParameter Modifier and Type Field Description protected Map<JdbcParameter,JdbcParameterBinding>
AbstractJdbcOperationQuery. appliedParameters
Methods in org.hibernate.sql.exec.spi that return JdbcParameter Modifier and Type Method Description JdbcParameter
JdbcParametersList. get(int selectionIndex)
JdbcParameter
JdbcParametersList.JdbcParametersListMulti. get(int selectionIndex)
JdbcParameter
JdbcParametersList.JdbcParametersListSingleton. get(int selectionIndex)
JdbcParameter
JdbcOperationQuerySelect. getLimitParameter()
JdbcParameter
JdbcOperationQuerySelect. getOffsetParameter()
Methods in org.hibernate.sql.exec.spi that return types with arguments of type JdbcParameter Modifier and Type Method Description Map<JdbcParameter,JdbcParameterBinding>
AbstractJdbcOperationQuery. getAppliedParameters()
Map<JdbcParameter,JdbcParameterBinding>
JdbcOperationQuery. getAppliedParameters()
The parameters which were inlined into the query as literals.Map<JdbcParameter,JdbcParameterBinding>
JdbcOperationQueryMutationNative. getAppliedParameters()
Set<JdbcParameter>
JdbcParameters. getJdbcParameters()
Methods in org.hibernate.sql.exec.spi with parameters of type JdbcParameter Modifier and Type Method Description void
JdbcParametersList.Builder. add(JdbcParameter jdbcParameter)
void
JdbcParameterBindings. addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
void
JdbcParameters. addParameter(JdbcParameter parameter)
JdbcParameterBinding
JdbcParameterBindings. getBinding(JdbcParameter parameter)
static JdbcParametersList
JdbcParametersList. singleton(JdbcParameter p)
Method parameters in org.hibernate.sql.exec.spi with type arguments of type JdbcParameter Modifier and Type Method Description void
JdbcParameters. addParameters(Collection<JdbcParameter> parameters)
static JdbcParametersList
JdbcParametersList. fromList(List<JdbcParameter> originalList)
void
JdbcParameterBindings. visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
default void
JdbcParameters. visitJdbcParameters(Consumer<JdbcParameter> jdbcParameterAction)
Constructors in org.hibernate.sql.exec.spi with parameters of type JdbcParameter Constructor Description JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, int rowsToSkip, int maxRows, Map<JdbcParameter,JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, int rowsToSkip, int maxRows, Map<JdbcParameter,JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)
Deprecated.filterJdbcParameters
is no longer usedConstructor parameters in org.hibernate.sql.exec.spi with type arguments of type JdbcParameter Constructor Description AbstractJdbcOperationQuery(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames, Map<JdbcParameter,JdbcParameterBinding> appliedParameters)
AbstractJdbcOperationQuery(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, Map<JdbcParameter,JdbcParameterBinding> appliedParameters)
Deprecated.filterJdbcParameters
is no longer usedJdbcOperationQueryDelete(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames, Map<JdbcParameter,JdbcParameterBinding> appliedParameters)
JdbcOperationQueryDelete(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, Map<JdbcParameter,JdbcParameterBinding> appliedParameters)
Deprecated.filterJdbcParameters
is no longer usedJdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, int rowsToSkip, int maxRows, Map<JdbcParameter,JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, int rowsToSkip, int maxRows, Map<JdbcParameter,JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)
Deprecated.filterJdbcParameters
is no longer usedJdbcOperationQueryUpdate(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames, Map<JdbcParameter,JdbcParameterBinding> appliedParameters)
JdbcOperationQueryUpdate(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, Map<JdbcParameter,JdbcParameterBinding> appliedParameters)
Deprecated.filterJdbcParameters
is no longer used -
Uses of JdbcParameter in org.hibernate.sql.model.ast
Classes in org.hibernate.sql.model.ast that implement JdbcParameter Modifier and Type Class Description class
ColumnValueParameter
Parameter descriptor specific to mutations.
-