mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix test - MySql limitations with delete query syntax
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user