Package org.hibernate.sql.exec.spi
Class JdbcOperationQueryMutationNative
java.lang.Object
org.hibernate.sql.exec.spi.JdbcOperationQueryMutationNative
- All Implemented Interfaces:
JdbcOperation
,JdbcOperationQuery
,JdbcOperationQueryMutation
Executable JDBC command
-
Constructor Summary
ConstructorsConstructorDescriptionJdbcOperationQueryMutationNative
(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Signals that the SQL depends on the parameter bindings e.g.The names of tables this operation refers toThe parameters which were inlined into the query as literals.Get the list of parameter binders for the generated PreparedStatementGet the SQL command we will be executing through JDBC PreparedStatement or CallableStatementboolean
isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
-
Constructor Details
-
JdbcOperationQueryMutationNative
public JdbcOperationQueryMutationNative(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames)
-
-
Method Details
-
getSqlString
Description copied from interface:JdbcOperation
Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatement- Specified by:
getSqlString
in interfaceJdbcOperation
-
getParameterBinders
Description copied from interface:JdbcOperation
Get the list of parameter binders for the generated PreparedStatement- Specified by:
getParameterBinders
in interfaceJdbcOperation
-
getAffectedTableNames
Description copied from interface:JdbcOperationQuery
The names of tables this operation refers to- Specified by:
getAffectedTableNames
in interfaceJdbcOperationQuery
-
dependsOnParameterBindings
public boolean dependsOnParameterBindings()Description copied from interface:JdbcOperationQuery
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 interfaceJdbcOperationQuery
-
getAppliedParameters
Description copied from interface:JdbcOperationQuery
The parameters which were inlined into the query as literals.- Specified by:
getAppliedParameters
in interfaceJdbcOperationQuery
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) - Specified by:
isCompatibleWith
in interfaceJdbcOperationQuery
-