mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
minor changes
This commit is contained in:
parent
c3a35821bd
commit
0bcf19d85b
@ -174,16 +174,14 @@ public boolean canBeBatched() {
|
||||
|
||||
|
||||
public static Expectation appropriateExpectation(ExecuteUpdateResultCheckStyle style) {
|
||||
if ( style == ExecuteUpdateResultCheckStyle.NONE ) {
|
||||
switch ( style ) {
|
||||
case NONE:
|
||||
return NONE;
|
||||
}
|
||||
else if ( style == ExecuteUpdateResultCheckStyle.COUNT ) {
|
||||
case COUNT:
|
||||
return BASIC;
|
||||
}
|
||||
else if ( style == ExecuteUpdateResultCheckStyle.PARAM ) {
|
||||
case PARAM:
|
||||
return PARAM;
|
||||
}
|
||||
else {
|
||||
default:
|
||||
throw new HibernateException( "unknown check style : " + style );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user