Package org.hibernate.sql.model
Class TableMapping.MutationDetails
- java.lang.Object
-
- org.hibernate.sql.model.TableMapping.MutationDetails
-
- Enclosing interface:
- TableMapping
public static class TableMapping.MutationDetails extends Object
Details for the mutation of a table
-
-
Constructor Summary
Constructors Constructor Description MutationDetails(MutationType mutationType, Expectation expectation, String customSql, boolean callable)
MutationDetails(MutationType mutationType, Expectation expectation, String customSql, boolean callable, boolean dynamicMutation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCustomSql()
Custom, application-provided SQL for this mutation (if one).Expectation
getExpectation()
The expectation for this mutationMutationType
getMutationType()
The type of mutation being detailedboolean
isCallable()
Whether custom SQL should be treated as callable (function / procedure)boolean
isDynamicMutation()
-
-
-
Constructor Detail
-
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 Detail
-
getMutationType
public MutationType getMutationType()
The type of mutation being detailed
-
getExpectation
public Expectation getExpectation()
The expectation for this mutation
-
getCustomSql
public String 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()
-
-