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 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)
-
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:JdbcOperation
Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatement- Specified by:
getSql
in interfaceJdbcOperation
-
getParameterBinders
public List<JdbcParameterBinder> getParameterBinders()
Description copied from interface:JdbcOperation
Get the list of parameter binders for the generated PreparedStatement- Specified by:
getParameterBinders
in interfaceJdbcOperation
-
getAffectedTableNames
public Set<String> getAffectedTableNames()
- Specified by:
getAffectedTableNames
in interfaceJdbcOperation
-
getFilterJdbcParameters
public Set<FilterJdbcParameter> getFilterJdbcParameters()
- Specified by:
getFilterJdbcParameters
in interfaceJdbcOperation
-
dependsOnParameterBindings
public boolean dependsOnParameterBindings()
Description copied from interface:JdbcOperation
Signals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.- Specified by:
dependsOnParameterBindings
in interfaceJdbcOperation
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
- Specified by:
isCompatibleWith
in interfaceJdbcOperation
-
-