public interface JDBCDataSource
DataSourceJDBCDataSources| Modifier and Type | Method and Description |
|---|---|
Connection |
connection(String schema)
Provides a
Connection to the named schema, IFF the schema is available |
Iterable<String> |
schemas()
Enumerates the available JDBC schemas for a given
JDBCDataSource, to which a Connection may be opened |
Iterable<String> schemas() throws SQLException
JDBCDataSource, to which a Connection may be openedSQLException - if an error occurs while processing this requestConnection connection(String schema) throws SchemaNotAvailableException, SQLException
Connection to the named schema, IFF the schema is availableschema - The name of the schema to connect toConnection instance pointing to the schemaSchemaNotAvailableException - if the requested schema does not exist or is not availableSQLException - if an error occurs connecting to the requested schema