Package org.hibernate.sql.exec.spi
Class NativeJdbcMutation
- java.lang.Object
-
- org.hibernate.sql.exec.spi.NativeJdbcMutation
-
- All Implemented Interfaces:
JdbcMutation,JdbcOperation
public class NativeJdbcMutation extends Object implements JdbcMutation
Executable JDBC command
-
-
Constructor Summary
Constructors Constructor Description NativeJdbcMutation(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandependsOnParameterBindings()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 PreparedStatementStringgetSql()Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatementbooleanisCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.exec.spi.JdbcOperation
bindFilterJdbcParameters
-
-
-
-
Constructor Detail
-
NativeJdbcMutation
public NativeJdbcMutation(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames)
-
-
Method Detail
-
getSql
public String getSql()
Description copied from interface:JdbcOperationGet the SQL command we will be executing through JDBC PreparedStatement or CallableStatement- Specified by:
getSqlin interfaceJdbcOperation
-
getParameterBinders
public List<JdbcParameterBinder> getParameterBinders()
Description copied from interface:JdbcOperationGet the list of parameter binders for the generated PreparedStatement- Specified by:
getParameterBindersin interfaceJdbcOperation
-
getAffectedTableNames
public Set<String> getAffectedTableNames()
- Specified by:
getAffectedTableNamesin interfaceJdbcOperation
-
getFilterJdbcParameters
public Set<FilterJdbcParameter> getFilterJdbcParameters()
- Specified by:
getFilterJdbcParametersin interfaceJdbcOperation
-
dependsOnParameterBindings
public boolean dependsOnParameterBindings()
Description copied from interface:JdbcOperationSignals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.- Specified by:
dependsOnParameterBindingsin interfaceJdbcOperation
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
- Specified by:
isCompatibleWithin interfaceJdbcOperation
-
-