public void removeRow_versionSetAndLessThanDBValue_shouldThrowException()
throws SQLException {
if (SQLTestsConstants.db == SQLTestsConstants.DB.HSQLDB) {
// HSQLDB doesn't support versioning, so this is to make the test
// green.
throw new OptimisticLockException(null);
}
DataGenerator.addVersionedData(connectionPool);
TableQuery tQuery = new TableQuery("versioned", connectionPool,
SQLTestsConstants.sqlGen);