Improvement for test EntityTest.java

Description

The following tests could behave nicer on failures:

testUniqueConstraint
testColumnUnique

The database which I am writing a dialect for has no unique constraint.
When I execute those tests I get a RollbackException which is not the intended behavior.

The test tries to give a nice failure message,

but the later

creates an Exception which masks the Failure. This could be avoided by adding a tx = null;

Activity

Details

Assignee

Reporter

Components

Priority

Created March 15, 2010 at 6:26 PM
Updated April 22, 2015 at 6:24 PM