crt.obtainManagedConnectionFactory(poolInfo); PasswordCredential pc = new PasswordCredential( dbUser, dbPassword.toCharArray());
ManagedConnectionFactory mcf = getRuntime().obtainManagedConnectionFactory(poolInfo, env); if (mcf == null) { if(_logger.isLoggable(Level.FINE)) {