Package org.hibernate.sql.exec.spi
package org.hibernate.sql.exec.spi
SPI for execution of SQL statements via JDBC. The statement to execute is
modeled by
JdbcOperation and is
executed via the corresponding executor -
either JdbcSelectExecutor
or JdbcMutationExecutor.
Provider-owned SQL AST translators create query operations through
JdbcOperations, which keeps the concrete
operation implementations internal to Hibernate.
The operation builders are stable SPI contracts; other execution contracts
retain their individual Incubating status.
For operations that return ResultSets, be sure to see
which provides support for processing results
starting with invalid reference
org.hibernate.sql.resultsJdbcValuesMapping.
Also provides support for pessimistic locking as part of JDBC select handling. For details, see JdbcSelectWithActions, JdbcSelect.getLoadedValuesCollectorFactory(), FollowOnLockingAction and friends.
-
ClassDescriptionOptional contract for JdbcOperation implementors allowing them to be used with Query caching.Callback to allow SQM interpretation to trigger certain things within ORM.A context for execution of SQL statements expressed via SQL AST and JdbcOperationModels the function return when the JdbcOperationQueryCall represents a call to a database function.Controls extracting values from OUT/INOUT parameters.Records which stage owns pessimistic locking for a JDBC select plan.Primary operation, which is an (
INSERT,UPDATEorDELETE) performed via JDBC.Executor for model-mutation operationsA command to perform through JDBC, normally with aPreparedStatementorCallableStatement.A JdbcOperation which (possibly) originated from a Query.An anonymous call block (sometimes called an anonymous procedure) to be executed on the database.Basic contract for an insert operationA query-language insert, update, or delete operation performed through JDBC.Creates Hibernate-owned JDBC operations from the output of a custom SQL AST translator.Builder for a query-language insert, update, or delete operation.Builder for aJdbcSelect.Records which stage owns pagination for a JDBC select plan.Performs parameter value binding to a JDBC PreparedStatement.Access to all the externalized JDBC parameter bindingsThe collectionConceptually similar to a List of JdbcParameters, but exposing a read-only immutable contract.Primary selection operation performed through JDBC.An executor for JdbcSelect operations.Contract used while building aJdbcSelectwhich might potentially include pre- and/or post- actions.Used to collect entity and collection values which are loaded as part of JdbcValues processing.Details about a loaded collection.Details about a loaded entity.An action to be performed after a PrimaryOperation.An action to be performed before a PrimaryOperation.A primary operation to be executed using JDBC.Common marker interface for PreAction and PostAction.Access to a JDBC Statement.