if (connection == null) {
addWarn("Could not get a connection");
return;
}
DatabaseMetaData meta = connection.getMetaData();
DBUtil util = new DBUtil();
util.setContext(getContext());
supportsGetGeneratedKeys = util.supportsGetGeneratedKeys(meta);
supportsBatchUpdates = util.supportsBatchUpdates(meta);
dialectCode = DBUtil.discoverSQLDialect(meta);
System.out.println("Driver name="+meta.getDriverName());
System.out.println("Driver version="+meta.getDriverVersion());
System.out.println("supportsGetGeneratedKeys="+supportsGetGeneratedKeys);