public class JDBCServer extends Object
Constructor and Description |
---|
JDBCServer(RDBMS inRDBMS,
String inHostname) |
Modifier and Type | Method and Description |
---|---|
JDBCConnectionPool |
establishConnectionPool(String inDatabaseName,
LoginCredentials inCredentials,
JDBCConnectionPoolSettings inPoolSettings) |
Connection |
getConnection(String inDatabaseName,
LoginCredentials inCredentials,
JDBCConnectionSettings inSettings) |
String |
getConnectString(String inDatabaseName) |
String |
getConnectString(String inDatabaseName,
JDBCConnectionSettings inSettings) |
String |
getHost()
Returns the host machine where the database server is located.
|
Integer |
getPort()
Returns the port to use to connect to the database via JDBC.
|
RDBMS |
getRDBMS()
Returns the relational database management system associated with the database server.
|
String |
name() |
JDBCServer |
setHost(String inValue)
Specifies the host machine where the database server is located.
|
JDBCServer |
setName(String inValue) |
JDBCServer |
setPort(int inValue)
Specifies the port to use to connect to the database via JDBC.
|
public JDBCServer(RDBMS inRDBMS, String inHostname)
public JDBCServer setName(String inValue)
public RDBMS getRDBMS()
public JDBCServer setHost(String inValue)
public JDBCServer setPort(int inValue)
public Connection getConnection(String inDatabaseName, LoginCredentials inCredentials, JDBCConnectionSettings inSettings)
public JDBCConnectionPool establishConnectionPool(String inDatabaseName, LoginCredentials inCredentials, JDBCConnectionPoolSettings inPoolSettings)
public String getConnectString(String inDatabaseName)
public String getConnectString(String inDatabaseName, JDBCConnectionSettings inSettings)