In array list test, use highest interface or class available

This commit is contained in:
Travis Burtrum 2018-05-22 00:56:05 -04:00
parent 9ad437b697
commit d0a912a83e

View File

@ -61,11 +61,11 @@ public class QueryMapperQmDao implements QmDao {
static { static {
Collection<Class<?>> no = new ArrayList<Class<?>>(); Collection<Class<?>> no = new ArrayList<Class<?>>();
for(final String connectionClassName : new String[]{ for(final String connectionClassName : new String[]{
"org.apache.derby.impl.jdbc.EmbedConnection" "org.apache.derby.iapi.jdbc.EngineConnection"
//, "org.hsqldb.jdbc.JDBCConnection" // does not support ArrayInList but *does* support UnNestArrayInList //, "org.hsqldb.jdbc.JDBCConnection" // does not support ArrayInList but *does* support UnNestArrayInList
, "org.sqlite.jdbc3.JDBC3Connection" , "org.sqlite.jdbc3.JDBC3Connection"
, "org.mariadb.jdbc.MariaDbConnection" , "org.mariadb.jdbc.MariaDbConnection"
, "com.microsoft.sqlserver.jdbc.SQLServerConnection" , "com.microsoft.sqlserver.jdbc.ISQLServerConnection"
//, "oracle.jdbc.OracleConnection" // does not support ArrayInList but *does* support OracleArrayInList //, "oracle.jdbc.OracleConnection" // does not support ArrayInList but *does* support OracleArrayInList
// h2 doesn't support this with java6 either... // h2 doesn't support this with java6 either...
/*IFJAVA6_START /*IFJAVA6_START