mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-24 15:55:55 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user