Fix test - MySql limitations with delete query syntax

This commit is contained in:
Robin Bygrave
2015-10-26 21:52:35 +13:00
parent bcf2a44187
commit d4b8f23a5a
@@ -54,6 +54,12 @@ public class TestDeleteByQuery extends BaseTestCase {
@Test
public void testCommit() {
EbeanServer server = Ebean.getDefaultServer();
if (server.getName().equals("mysql")) {
// MySql does not the sub query selecting from the delete table
return;
}
ResetBasicData.reset();
List<Customer> all = Customer.find.all();