Skip to content

Commit 7fcc428

Browse files
committed
add a missing call to the SQLException converter
1 parent 0028867 commit 7fcc428

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaIsolationDelegate.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ private <T> T doTheWork(WorkExecutorVisitable<T> work) {
182182
// do the actual work
183183
return work.accept( new WorkExecutor<>(), connection );
184184
}
185+
catch (SQLException sqle) {
186+
throw sqlExceptionConverter().apply( sqle, "Error performing isolated work" );
187+
}
185188
catch ( HibernateException e ) {
186189
throw e;
187190
}

0 commit comments

Comments
 (0)