We're updating the issue view to help you get more done. 

Fix tests catching exceptions without re-throwing them

Description

Some tests may not fail due to code like:

1 2 3 4 5 6 7 8 9 10 Transaction tx = s.beginTransaction(); try { ...... tx.commit(); } catch (Exception e) { if ( tx.isActive() ) { tx.rollback(); } }

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Andrea Boriero

Fix versions

Components

Affects versions

5.2.8

Priority

Major