public interface DatabaseConnection
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
boolean |
getAutoCommit() |
java.lang.String |
getCatalog() |
java.lang.String |
getConnectionUserName() |
int |
getDatabaseMajorVersion() |
int |
getDatabaseMinorVersion() |
java.lang.String |
getDatabaseProductName() |
java.lang.String |
getDatabaseProductVersion() |
java.lang.String |
getURL() |
boolean |
isClosed() |
java.lang.String |
nativeSQL(java.lang.String sql) |
void |
rollback() |
void |
setAutoCommit(boolean autoCommit) |
void close()
throws DatabaseException
DatabaseExceptionvoid commit()
throws DatabaseException
DatabaseExceptionboolean getAutoCommit()
throws DatabaseException
DatabaseExceptionjava.lang.String getCatalog()
throws DatabaseException
DatabaseExceptionjava.lang.String nativeSQL(java.lang.String sql)
throws DatabaseException
DatabaseExceptionvoid rollback()
throws DatabaseException
DatabaseExceptionvoid setAutoCommit(boolean autoCommit)
throws DatabaseException
DatabaseExceptionjava.lang.String getDatabaseProductName()
throws DatabaseException
DatabaseExceptionjava.lang.String getDatabaseProductVersion()
throws DatabaseException
DatabaseExceptionint getDatabaseMajorVersion()
throws DatabaseException
DatabaseExceptionint getDatabaseMinorVersion()
throws DatabaseException
DatabaseExceptionjava.lang.String getURL()
java.lang.String getConnectionUserName()
boolean isClosed()
throws DatabaseException
DatabaseException