|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The XDBCXDatabaseMetaData interface returns specific information about the capabilities of the XML database and XDBC driver.
| Method Summary | |
XDBCConnection |
getConnection()
Retrieves the connection that produced this metadata object. |
int |
getConnectionCount()
Return the number of XDBCConnection objects currently open by this XDBC driver to the database. |
int |
getDBMajorVersion()
Returns the major version of this database product. |
int |
getDBMinorVersion()
Return the minor version of this database product. |
int |
getDefaultTransactionIsolation()
Return the database's default transaction isolation level. |
int |
getDriverMajorVersion()
Return the XDBC driver's major version number. |
int |
getDriverMinorVersion()
Return the XDBC driver's minor version number. |
int |
getStatementCount()
Return the number of XDBCStatements currently open by this driver to the database. |
String |
getUserName()
Return the user name as known to the database. |
boolean |
isReadOnly()
Return true exactly when the database is in read-only mode. |
boolean |
supportsResultSequenceConcurrency(int type)
Returns true or false depending on whether the specified concurrency level is supported by XDBCResultSequences from the database. |
| Method Detail |
public int getDBMajorVersion()
public int getDBMinorVersion()
public int getDriverMajorVersion()
public int getDriverMinorVersion()
public XDBCConnection getConnection()
throws XDBCException
XDBCException - if a database access error occurs.public int getDefaultTransactionIsolation()
XDBC_TRANSACTION_NONE,
XDBC_TRANSACTION_READ_UNCOMMITTED,
XDBC_TRANSACTION_READ_COMMITTED,
XDBC_TRANSACTION_REPEATABLE_READ,
XDBC_TRANSACTION_SERIALIZABLE
public int getConnectionCount()
throws XDBCException
XDBCException - if a database access error occurs.
public int getStatementCount()
throws XDBCException
XDBCException - if a database access error occurs.
public String getUserName()
throws XDBCException
XDBCException - if a database access error occurs.
public boolean isReadOnly()
throws XDBCException
XDBCException - if a database access error occurs.
public boolean supportsResultSequenceConcurrency(int type)
throws XDBCException
type - the constant concurrency level as defined in XDBCResultSequence.
XDBCException - if a database access error occurs, or if the type
parameter is invalid.XDBC_CONCUR_READ_ONLY,
XDBC_CONCUR_UPDATABLE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||