Package org.hibernate.sql.exec.spi
Interface JdbcParameterBindings
-
- All Known Implementing Classes:
JdbcParameterBindingsImpl
public interface JdbcParameterBindingsAccess to all the externalized JDBC parameter bindings- API Note:
- "Externalized" because some JDBC parameter values are
intrinsically part of the parameter itself, and we do not need to
locate a JdbcParameterBinding. E.g., consider a
LiteralAsParameterwhich encapsulates the literal value inside itself - to create the binder and actually perform the binding is only dependent on the LiteralParameter
-
-
Field Summary
Fields Modifier and Type Field Description static JdbcParameterBindingsNO_BINDINGS
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddBinding(JdbcParameter parameter, JdbcParameterBinding binding)JdbcParameterBindinggetBinding(JdbcParameter parameter)Collection<JdbcParameterBinding>getBindings()default intregisterParametersForEachJdbcValue(Object value, int offset, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)default intregisterParametersForEachJdbcValue(Object value, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)voidvisitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
-
-
-
Field Detail
-
NO_BINDINGS
static final JdbcParameterBindings NO_BINDINGS
-
-
Method Detail
-
addBinding
void addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
-
getBindings
Collection<JdbcParameterBinding> getBindings()
-
getBinding
JdbcParameterBinding getBinding(JdbcParameter parameter)
-
visitBindings
void visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
-
registerParametersForEachJdbcValue
default int registerParametersForEachJdbcValue(Object value, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
-
registerParametersForEachJdbcValue
default int registerParametersForEachJdbcValue(Object value, int offset, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
-
-