Change test - disable this test for MySql - it does not like trying to delete using sub query select from same table

This commit is contained in:
Robin Bygrave
2015-09-18 22:18:37 +12:00
parent e1d45dd79d
commit f6ee82428f
@@ -18,6 +18,10 @@ public class TestDeleteByQuery extends BaseTestCase {
public void test() {
EbeanServer server = Ebean.getDefaultServer();
if (server.getName().equals("mysql")) {
// MySql does not the sub query selecting from the delete table
return;
}
Query<Contact> query = server.find(Contact.class).where().eq("group.name", "NahYeahMaybe").query();