Package org.hibernate.sql.model
Class TableMapping.MutationDetails
java.lang.Object
org.hibernate.sql.model.TableMapping.MutationDetails
- Enclosing interface:
- TableMapping
Details for the mutation of a table
-
Constructor Summary
ConstructorsConstructorDescriptionMutationDetails
(MutationType mutationType, Expectation expectation, String customSql, boolean callable) MutationDetails
(MutationType mutationType, Expectation expectation, String customSql, boolean callable, boolean dynamicMutation) -
Method Summary
Modifier and TypeMethodDescriptionCustom, application-provided SQL for this mutation (if one).The expectation for this mutationThe type of mutation being detailedboolean
Whether custom SQL should be treated as callable (function / procedure)boolean
-
Constructor Details
-
MutationDetails
public MutationDetails(MutationType mutationType, Expectation expectation, String customSql, boolean callable) -
MutationDetails
public MutationDetails(MutationType mutationType, Expectation expectation, String customSql, boolean callable, boolean dynamicMutation)
-
-
Method Details
-
getMutationType
The type of mutation being detailed -
getExpectation
The expectation for this mutation -
getCustomSql
Custom, application-provided SQL for this mutation (if one). Will returnnull
if no custom SQL was provided indicating Hibernate will generate the SQL based on the mapping -
isCallable
public boolean isCallable()Whether custom SQL should be treated as callable (function / procedure) -
isDynamicMutation
public boolean isDynamicMutation()
-