public interface Datasource extends DatasourceMeta
Modifier and Type | Method and Description |
---|---|
void |
cancelStatement(java.util.UUID statementId) |
SRConnection |
getConnection()
Retrieves a connection from the underlying connection pool, or creates a new connection if necessary.
|
JDBCDriver |
getDriver()
Returns the driver that this datasource uses to connect to the database
|
DatasourceMetrics |
getMetrics() |
java.lang.Throwable |
getProblem()
If this datasource is FAULTED, this will be the exception that caused it to fail
|
DBTranslator |
getTranslator() |
boolean |
includeSchemaInTablename()
Whether table names should be fully qualified with their schemas.
|
getActiveConnections, getActiveQueries, getDescription, getExtendedStatus, getFailoverMode, getMaxConnections, getName, getProblemDescription, getStatistics, getStatus, getValidationQuery, getVendor
JDBCDriver getDriver()
DBTranslator getTranslator()
boolean includeSchemaInTablename()
SRConnection getConnection() throws java.sql.SQLException
java.sql.SQLException
java.lang.Throwable getProblem()
void cancelStatement(java.util.UUID statementId)
DatasourceMetrics getMetrics()