Top Description Fields Constructors Methods
org.hibernate.sql.exec.spi

public Class JdbcOperationQueryMutationNative

extends Object
implements JdbcOperationQueryMutation
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.exec.spi.JdbcOperationQueryMutation, org.hibernate.sql.exec.spi.JdbcOperationQuery, org.hibernate.sql.exec.spi.JdbcOperation
Imports
java.util.Collections, .List, .Map, .Set, org.hibernate.query.spi.QueryOptions, org.hibernate.sql.ast.tree.expression.JdbcParameter

Executable JDBC command
Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final Set<String>
private final List<JdbcParameterBinder>
private final String

Constructor Summary

AccessConstructor and Description
public
JdbcOperationQueryMutationNative(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames)

Method Summary

Modifier and TypeMethod and Description
public boolean
dependsOnParameterBindings()

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.dependsOnParameterBindings.

Signals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.
public Set<String>
getAffectedTableNames()

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.getAffectedTableNames.

The names of tables this operation refers to
public Map<JdbcParameter, JdbcParameterBinding>
getAppliedParameters()

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.getAppliedParameters.

The parameters which were inlined into the query as literals.
public List<JdbcParameterBinder>
getParameterBinders()

Implements org.hibernate.sql.exec.spi.JdbcOperation.getParameterBinders.

Get the list of parameter binders for the generated PreparedStatement
public String
getSqlString()

Implements org.hibernate.sql.exec.spi.JdbcOperation.getSqlString.

Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatement
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

affectedTableNamesback to summary
private final Set<String> affectedTableNames
parameterBindersback to summary
private final List<JdbcParameterBinder> parameterBinders
sqlback to summary
private final String sql

Constructor Detail

JdbcOperationQueryMutationNativeback to summary
public JdbcOperationQueryMutationNative(String sql, List<JdbcParameterBinder> parameterBinders, Set<String> affectedTableNames)

Method Detail

dependsOnParameterBindingsback to summary
public boolean dependsOnParameterBindings()

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.dependsOnParameterBindings.

Doc from org.hibernate.sql.exec.spi.JdbcOperationQuery.dependsOnParameterBindings.

Signals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.

Annotations
@Override
getAffectedTableNamesback to summary
public Set<String> getAffectedTableNames()

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.getAffectedTableNames.

Doc from org.hibernate.sql.exec.spi.JdbcOperationQuery.getAffectedTableNames.

The names of tables this operation refers to

Annotations
@Override
getAppliedParametersback to summary
public Map<JdbcParameter, JdbcParameterBinding> getAppliedParameters()

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.getAppliedParameters.

Doc from org.hibernate.sql.exec.spi.JdbcOperationQuery.getAppliedParameters.

The parameters which were inlined into the query as literals.

Annotations
@Override
getParameterBindersback to summary
public List<JdbcParameterBinder> getParameterBinders()

Implements org.hibernate.sql.exec.spi.JdbcOperation.getParameterBinders.

Doc from org.hibernate.sql.exec.spi.JdbcOperation.getParameterBinders.

Get the list of parameter binders for the generated PreparedStatement

Annotations
@Override
getSqlStringback to summary
public String getSqlString()

Implements org.hibernate.sql.exec.spi.JdbcOperation.getSqlString.

Doc from org.hibernate.sql.exec.spi.JdbcOperation.getSqlString.

Get the SQL command we will be executing through JDBC PreparedStatement or CallableStatement

Annotations
@Override
isCompatibleWithback to summary
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.isCompatibleWith.

Annotations
@Override