Skip to content

Commit

Permalink
HHH-11434 : Fix tests to work with pre-5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gbadner committed Feb 23, 2017
1 parent 1660c52 commit 4b23a68
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -487,7 +487,7 @@ protected void cleanupTestData() throws Exception {
s.createQuery( "delete from java.lang.Object" ).executeUpdate();
s.getTransaction().commit();
}
catch ( Throwable e ) {
catch ( Exception e ) {
if ( s.getTransaction().getStatus().canRollback() ) {
s.getTransaction().rollback();
}
Expand Down

0 comments on commit 4b23a68

Please sign in to comment.