mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-03 16:25:36 +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:
1 parent
e1d45dd79d
commit
f6ee82428f
1 file changed
+4
@@ -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