Package org.hibernate.sql.exec.spi
Interface JdbcOperation
-
- All Known Subinterfaces:
JdbcAnonBlock
,JdbcCall
,JdbcMutation
- All Known Implementing Classes:
AbstractJdbcOperation
,JdbcCallImpl
,JdbcDelete
,JdbcInsert
,JdbcSelect
,JdbcUpdate
,NativeJdbcMutation
public interface JdbcOperation
Unifying contract for any SQL statement we want to execute via JDBC.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
bindFilterJdbcParameters(JdbcParameterBindings jdbcParameterBindings)
boolean
dependsOnParameterBindings()
Signals that the SQL depends on the parameter bindings e.g.Set<String>
getAffectedTableNames()
Set<FilterJdbcParameter>
getFilterJdbcParameters()
List<JdbcParameterBinder>
getParameterBinders()
Get the list of parameter binders for the generated PreparedStatementString
getSql()
Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatementboolean
isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
-
-
-
Method Detail
-
getSql
String getSql()
Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatement
-
getParameterBinders
List<JdbcParameterBinder> getParameterBinders()
Get the list of parameter binders for the generated PreparedStatement
-
getFilterJdbcParameters
Set<FilterJdbcParameter> getFilterJdbcParameters()
-
dependsOnParameterBindings
boolean dependsOnParameterBindings()
Signals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.
-
isCompatibleWith
boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
-
bindFilterJdbcParameters
default void bindFilterJdbcParameters(JdbcParameterBindings jdbcParameterBindings)
-
-