Class JdbcOperations
java.lang.Object
org.hibernate.sql.exec.spi.JdbcOperations
Creates Hibernate-owned JDBC operations from the output of a custom SQL AST translator.
A direct SqlAstTranslator
implementation should use these builders instead of depending on operation
implementations in an internal package. The command may use any syntax
understood by the configured JDBC driver; it is not required to be SQL.
Query selections and query-language mutations have distinct entry points so
their result types cannot be confused. Mapping-model mutations are
deliberately excluded: create those through
TableMutation.createMutationOperation(String, List).
- Since:
- 8.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for a query-language insert, update, or delete operation.static final classBuilder for aJdbcSelect. -
Method Summary
Modifier and TypeMethodDescriptionBegin building a JDBC query mutation for the given translation request.static JdbcOperations.SelectBuilderselect(SqlAstTranslationRequest.Select request) Begin building a JDBC selection for the given translation request.
-
Method Details
-
select
Begin building a JDBC selection for the given translation request. -
queryMutation
public static JdbcOperations.QueryMutationBuilder queryMutation(SqlAstTranslationRequest.QueryMutation request) Begin building a JDBC query mutation for the given translation request.
-