mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix test for cross database use
This commit is contained in:
@@ -160,7 +160,12 @@ public class TestQueryFindIterate extends BaseTestCase {
|
||||
|
||||
// this throws an exception immediately
|
||||
QueryIterator<Customer> it = query.findIterate();
|
||||
it.hashCode();
|
||||
it.close();
|
||||
|
||||
if (!server.getName().equals("h2")) {
|
||||
// MySql allows the query with type conversion?
|
||||
throw new PersistenceException("H2 does expected thing but MySql does not");
|
||||
}
|
||||
assertTrue("Never get here as exception thrown", false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user