SimpleLockingTestEntity.class).getDbEntity();
List idAttributes = Collections.singletonList(entity
.getAttribute("LOCKING_TEST_ID"));
DeleteBatchQuery deleteQuery = new DeleteBatchQuery(entity, idAttributes, null, 1);
DeleteBatchQueryBuilder builder = new DeleteBatchQueryBuilder(new JdbcAdapter());
String generatedSql = builder.createSqlString(deleteQuery);
assertNotNull(generatedSql);
assertEquals(
"DELETE FROM " + entity.getName() + " WHERE LOCKING_TEST_ID = ?",