|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDatabaseConnection
UserDatabaseConnection interface allows access to both connection and connection context.
Field Summary | |
---|---|
static java.lang.String |
DATASOURCE_CONNECTION
|
static java.lang.String |
JDBC_CONNECTION
|
Method Summary | |
---|---|
boolean |
getAutoCommit()
Retrieves the current auto-commit mode for this Connection object. |
java.sql.Connection |
getConnection()
Return the underlying connection. |
java.lang.String |
getConnectionName()
Return the connection name. |
java.lang.String |
getConnectionType()
Return the connection type. |
DatabaseConnectionContext |
getDatabaseConnectionContext()
Return the underlying DatabaseConnectionContext. |
void |
setAutoCommit(boolean autoCommit)
Sets this connection's auto-commit mode to the given state. |
Field Detail |
---|
static final java.lang.String JDBC_CONNECTION
static final java.lang.String DATASOURCE_CONNECTION
Method Detail |
---|
java.lang.String getConnectionName()
java.lang.String getConnectionType()
java.sql.Connection getConnection()
DatabaseConnectionContext getDatabaseConnectionContext()
boolean getAutoCommit()
void setAutoCommit(boolean autoCommit) throws java.sql.SQLException
autoCommit
- true
to enable auto-commit mode;
false
to disable it
java.sql.SQLException
- if a database access error occursgetAutoCommit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |