Package org.hibernate.engine
Class ExecuteUpdateResultCheckStyle
java.lang.Object
org.hibernate.engine.ExecuteUpdateResultCheckStyle
- All Implemented Interfaces:
Serializable
For persistence operations (INSERT, UPDATE, DELETE) what style of determining
results (success/failure) is to be used.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExecuteUpdateResultCheckStylePerform row-count checking.static final ExecuteUpdateResultCheckStyleDo not perform checking.static final ExecuteUpdateResultCheckStyleEssentially the same asCOUNTexcept that the row count actually comes from an output parameter registered as part of aCallableStatement. -
Method Summary
-
Field Details
-
NONE
Do not perform checking. Either user simply does not want checking, or is indicating aCallableStatementexecution in which the checks are being performed explicitly and failures are handled through propogation ofSQLExceptions. -
COUNT
Perform row-count checking. Row counts are the int values returned by bothPreparedStatement.executeUpdate()andStatement.executeBatch(). These values are checked against some expected count. -
PARAM
Essentially the same asCOUNTexcept that the row count actually comes from an output parameter registered as part of aCallableStatement. This style explicitly prohibits statement batching from being used...
-
-
Method Details
-
parse
-
determineDefault
-