static OpenJPAException newConnectException(JDBCConfiguration conf, boolean factory2, Exception cause) { return new UserException(_eloc.get("poolds-null", factory2 ? new Object[]{conf.getConnection2DriverName(), conf.getConnection2URL()} : new Object[]{conf.getConnectionDriverName(), conf.getConnectionURL()}), cause).setFatal(true); }
static OpenJPAException newConnectException(JDBCConfiguration conf, boolean factory2, Exception cause) { return new UserException(_eloc.get("poolds-null", factory2 ? new Object[]{conf.getConnection2DriverName(), conf.getConnection2URL()} : new Object[]{conf.getConnectionDriverName(), conf.getConnectionURL()}), cause).setFatal(true); }
static OpenJPAException newConnectException(JDBCConfiguration conf, boolean factory2, Exception cause) { return new UserException(_eloc.get("poolds-null", factory2 ? new Object[]{conf.getConnection2DriverName(), conf.getConnection2URL()} : new Object[]{conf.getConnectionDriverName(), conf.getConnectionURL()}), cause).setFatal(true); }
static OpenJPAException newConnectException(JDBCConfiguration conf, boolean factory2, Exception cause) { return new UserException(_eloc.get("poolds-null", factory2 ? new Object[]{conf.getConnection2DriverName(), conf.getConnection2URL()} : new Object[]{conf.getConnectionDriverName(), conf.getConnectionURL()}), cause).setFatal(true); }
String driver = (factory2) ? conf.getConnection2DriverName() : conf.getConnectionDriverName(); if (StringUtils.isEmpty(driver))
String driver = (factory2) ? conf.getConnection2DriverName() : conf.getConnectionDriverName(); if (StringUtils.isEmpty(driver))
String driver = (factory2) ? conf.getConnection2DriverName() : conf.getConnectionDriverName(); if (StringUtils.isEmpty(driver))
String driver = (factory2) ? conf.getConnection2DriverName() : conf.getConnectionDriverName(); if (StringUtil.isEmpty(driver))
String driver = (factory2) ? conf.getConnection2DriverName() : conf.getConnectionDriverName(); if (StringUtil.isEmpty(driver))