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

invalid reference
org.hibernate.sql.results
which provides support for processing results starting with JdbcValuesMapping.

Also provides support for pessimistic locking as part of JDBC select handling. For details, see JdbcSelectWithActions, JdbcSelect.getLoadedValuesCollectorFactory(), FollowOnLockingAction and friends.