public class JdbcConnectionProvider extends ConnectionProvider
Modifier and Type | Field and Description |
---|---|
protected String |
actualPassword |
protected String |
actualUrl |
protected String |
actualUsername |
protected Configuration |
configuration |
static String |
copyright |
protected String |
driver |
protected String |
keyPrefix |
protected String |
password |
protected String |
url |
protected String |
username |
database, databaseMajorMinorVersion, databaseMajorVersion, databaseMinorVersion, databasePlatform, databaseProductName, databaseProductVersion, driverMajorMinorVersion, driverMajorVersion, driverMinorVersion, driverName, driverVersion, errorMessage, hibernateDialect, JDBCMajorMinorVersion, JDBCMajorVersion, JDBCMinorVersion, lastTested, logger, status, STATUS_CONNECTED, STATUS_DISCONNECTED, STATUS_ERROR, types
Constructor and Description |
---|
JdbcConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
Connection |
acquireConnection() |
String |
getActualPassword() |
String |
getActualUrl() |
String |
getActualUsername() |
String |
getDescription() |
String |
getDriver() |
String |
getPassword() |
String |
getUrl() |
String |
getUsername() |
void |
init(DatabasePlatformsRegistry databasePlatformsRegistry) |
void |
releaseConnection(Connection conn) |
void |
setActualPassword(String password) |
void |
setActualUrl(String url) |
void |
setActualUsername(String username) |
void |
setDriver(String driver) |
void |
setPassword(String password) |
void |
setUrl(String url) |
void |
setUsername(String username) |
String |
toString() |
afterUnmarshal, equals, fixMissingTypeAliases, getActualHibernateDialectName, getDatabase, getDatabaseMajorMinorVersion, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabasePlatform, getDatabaseProductName, getDatabaseProductVersion, getDriverMajorMinorVersion, getDriverMajorVersion, getDriverMinorVersion, getDriverName, getDriverVersion, getErrorMessage, getHibernateDialect, getJDBCMajorMinorVersion, getJDBCMajorVersion, getJDBCMinorVersion, getLastTested, getStatus, getTypes, hashCode, isHibernateDialectAutodetected, readType, setDatabase, setHibernateDialect, shutdown
public static final String copyright
protected String driver
protected String url
protected String username
protected String password
protected Configuration configuration
protected String keyPrefix
protected String actualUrl
protected String actualUsername
protected String actualPassword
public void init(DatabasePlatformsRegistry databasePlatformsRegistry)
init
in class ConnectionProvider
public String getDescription()
getDescription
in class ConnectionProvider
public Connection acquireConnection() throws Exception
acquireConnection
in class ConnectionProvider
Exception
public void releaseConnection(Connection conn)
releaseConnection
in class ConnectionProvider
public String getDriver()
public void setDriver(String driver)
public String getUrl()
public void setUrl(String url)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getActualUrl()
public void setActualUrl(String url)
public String getActualUsername()
public void setActualUsername(String username)
public String getActualPassword()
public void setActualPassword(String password)