if (logger != null && logger.isLoggable(BasicLevel.DEBUG)) {
logger.log(BasicLevel.DEBUG, "Get a JDBC connection from the pool: " + connection);
}
return connection;
} catch (Exception e) {
throw new PExceptionIO(ExceptionHelper.getNested(e),
"Impossible to fetch a jdbc connection on driver");
}
} else {
Object connection = super.getConnection(connectionContext, user);
synchronized(unpooledConnection) {