public class QueryParameterBindingsImpl extends Object implements QueryParameterBindings
Modifier and Type | Method and Description |
---|---|
Collection<Type> |
collectBindTypes()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Collection<Object> |
collectBindValues()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Map<String,TypedValue> |
collectNamedParameterBindings()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Type[] |
collectPositionalBindTypes()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Object[] |
collectPositionalBindValues()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
String |
expandListValuedParameters(String queryString,
SharedSessionContractImplementor session)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
static QueryParameterBindingsImpl |
from(ParameterMetadata parameterMetadata,
SessionFactoryImplementor sessionFactory,
boolean queryParametersValidationEnabled) |
QueryParameterBinding |
getBinding(int position) |
<T> QueryParameterBinding<T> |
getBinding(QueryParameter<T> parameter) |
QueryParameterBinding |
getBinding(String name) |
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(int name)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(QueryParameter<T> queryParameter)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(String name)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
boolean |
isBound(QueryParameter parameter) |
protected QueryParameterBinding |
makeBinding(QueryParameter queryParameter) |
protected QueryParameterBinding |
makeBinding(Type bindType) |
protected <T> QueryParameterListBinding<T> |
makeListBinding(QueryParameter<T> param) |
void |
verifyParametersBound(boolean reserveFirstParameter) |
public static QueryParameterBindingsImpl from(ParameterMetadata parameterMetadata, SessionFactoryImplementor sessionFactory, boolean queryParametersValidationEnabled)
protected QueryParameterBinding makeBinding(QueryParameter queryParameter)
protected QueryParameterBinding makeBinding(Type bindType)
protected <T> QueryParameterListBinding<T> makeListBinding(QueryParameter<T> param)
public boolean isBound(QueryParameter parameter)
isBound
in interface QueryParameterBindings
public <T> QueryParameterBinding<T> getBinding(QueryParameter<T> parameter)
getBinding
in interface QueryParameterBindings
public QueryParameterBinding getBinding(int position)
getBinding
in interface QueryParameterBindings
public QueryParameterBinding getBinding(String name)
getBinding
in interface QueryParameterBindings
public void verifyParametersBound(boolean reserveFirstParameter)
verifyParametersBound
in interface QueryParameterBindings
@Deprecated public Collection<Type> collectBindTypes()
@Deprecated public Collection<Object> collectBindValues()
@Deprecated public Type[] collectPositionalBindTypes()
collectPositionalBindTypes
in interface QueryParameterBindings
@Deprecated public Object[] collectPositionalBindValues()
collectPositionalBindValues
in interface QueryParameterBindings
@Deprecated public Map<String,TypedValue> collectNamedParameterBindings()
collectNamedParameterBindings
in interface QueryParameterBindings
@Deprecated public <T> QueryParameterListBinding<T> getQueryParameterListBinding(QueryParameter<T> queryParameter)
getQueryParameterListBinding
in interface QueryParameterBindings
@Deprecated public <T> QueryParameterListBinding<T> getQueryParameterListBinding(String name)
getQueryParameterListBinding
in interface QueryParameterBindings
@Deprecated public <T> QueryParameterListBinding<T> getQueryParameterListBinding(int name)
getQueryParameterListBinding
in interface QueryParameterBindings
@Deprecated public String expandListValuedParameters(String queryString, SharedSessionContractImplementor session)
expandListValuedParameters
in interface QueryParameterBindings
Copyright © 2019 JBoss by Red Hat. All rights reserved.