public interface DBBinXMLMetadataProvider extends BinXMLMetadataProvider
Modifier and Type | Method and Description |
---|---|
void |
associateDataConnection(java.sql.Connection dataconn)
Associates a data connection with DBBinXMLMetadataProvider.
|
void |
setConnection(java.sql.Connection metadataconn)
Sets connection to be used by DBBinXMLMetaDataProvider
|
void |
setConnectionPool(OracleDataSource connpool)
Sets connection pool to be used by DBBinXMLMetadataProvider
|
void |
setConnStr(java.lang.String connstr, java.lang.String usr, java.lang.String passwd)
Used for setting up thin connection.
|
void |
setDriver(java.sql.Driver driver)
Specify database driver to be used by DBBinXMLMetadataProvider
|
void |
setURL(java.net.URL http, java.lang.String usrname, java.lang.String passwd)
Used for setting up OCI connection
|
getCompiledSchema, getCompiledSchema, getDTD, getDTD, getTokenSet, getTokenSet, getTokenSet, isSchemaAnnotationAvailable, saveCompiledSchema, saveDTD, saveSchema, saveTokenSet
void setConnection(java.sql.Connection metadataconn) throws BinXMLException, java.sql.SQLException
metadataconn
- This connection is used to store and retrieve metadata by a DBBinXMLMetadataProvider. If the associateDataConnection method is not called, this connection will also be used to store and retrieve binary data from the database.java.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid setConnectionPool(OracleDataSource connpool) throws BinXMLException, java.sql.SQLException
connpool
- OracleDataSource for metadata retrievaljava.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid setDriver(java.sql.Driver driver) throws BinXMLException
driver
- user specified driverBinXMLException
- Raised for any errors encounteredvoid setURL(java.net.URL http, java.lang.String usrname, java.lang.String passwd) throws BinXMLException, java.sql.SQLException
http
- URL for connectionjava.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid setConnStr(java.lang.String connstr, java.lang.String usr, java.lang.String passwd) throws BinXMLException, java.sql.SQLException
connstr
- connection stringjava.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid associateDataConnection(java.sql.Connection dataconn) throws BinXMLException
dataconn
- JDBC connection used for storage and retrieval of Binary XML data.BinXMLException
- Raised for any errors encountered