mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
Fix test for cross database use
This commit is contained in:
1 parent
99203a35a2
commit
7d43f5a3d7
1 file changed
+6
-1
@@ -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