public class ServerContextConnectionSet extends java.lang.Object implements ConnectionSet
| Constructor and Description |
|---|
ServerContextConnectionSet(ServerContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
java.sql.Connection |
getConnection() |
java.sql.Connection |
getSlaveConnection() |
void |
recycle() |
void |
rollback() |
void |
setAutoCommit(boolean autoCommit) |
public ServerContextConnectionSet(ServerContext context)
public java.sql.Connection getConnection()
getConnection in interface ConnectionSetpublic java.sql.Connection getSlaveConnection()
getSlaveConnection in interface ConnectionSetpublic void commit()
throws BGException
commit in interface ConnectionSetBGExceptionpublic void recycle()
recycle in interface ConnectionSetpublic void rollback()
rollback in interface ConnectionSetpublic void setAutoCommit(boolean autoCommit)
setAutoCommit in interface ConnectionSet