Code: Select all
if (system.getDatabaseConnection(connection).getMetaData().driverName.indexOf("MySQL") != -1) {
...
}
Is that a correct assumption ? If it is, why would it use a pooled connection even when I am not actually using this database resource to run any kind of query.