Package org.hibernate.sql.exec.spi
Class JdbcOperationQueryMutationNative
- java.lang.Object
-
- org.hibernate.sql.exec.spi.JdbcOperationQueryMutationNative
-
- All Implemented Interfaces:
JdbcOperation,JdbcOperationQuery,JdbcOperationQueryMutation
public class JdbcOperationQueryMutationNative extends Object implements JdbcOperationQueryMutation
Executable JDBC command
-
-
Constructor Summary
Constructors Constructor Description JdbcOperationQueryMutationNative(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()The names of tables this operation refers toMap<JdbcParameter,JdbcParameterBinding>getAppliedParameters()The parameters which were inlined into the query as literals.List<JdbcParameterBinder>getParameterBinders()Get the list of parameter binders for the generated PreparedStatementStringgetSqlString()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.JdbcOperationQuery
getFilterJdbcParameters
-
-
-
-
Constructor Detail
-
JdbcOperationQueryMutationNative
public JdbcOperationQueryMutationNative(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames)
-
-
Method Detail
-
getSqlString
public String getSqlString()
Description copied from interface:JdbcOperationGet the SQL command we will be executing through JDBC PreparedStatement or CallableStatement- Specified by:
getSqlStringin 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()
Description copied from interface:JdbcOperationQueryThe names of tables this operation refers to- Specified by:
getAffectedTableNamesin interfaceJdbcOperationQuery
-
dependsOnParameterBindings
public boolean dependsOnParameterBindings()
Description copied from interface:JdbcOperationQuerySignals 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 interfaceJdbcOperationQuery
-
getAppliedParameters
public Map<JdbcParameter,JdbcParameterBinding> getAppliedParameters()
Description copied from interface:JdbcOperationQueryThe parameters which were inlined into the query as literals.- Specified by:
getAppliedParametersin interfaceJdbcOperationQuery
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
- Specified by:
isCompatibleWithin interfaceJdbcOperationQuery
-
-