commit
aabc5d9766
|
|
@ -1835,7 +1835,7 @@ Code within the callback can roll the transaction back by calling the
|
||||||
try {
|
try {
|
||||||
updateOperation1();
|
updateOperation1();
|
||||||
updateOperation2();
|
updateOperation2();
|
||||||
} catch (SomeBusinessExeption ex) {
|
} catch (SomeBusinessException ex) {
|
||||||
**status.setRollbackOnly();**
|
**status.setRollbackOnly();**
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue