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 ConnectionSet
public java.sql.Connection getSlaveConnection()
getSlaveConnection
in interface ConnectionSet
public void commit() throws BGException
commit
in interface ConnectionSet
BGException
public void recycle()
recycle
in interface ConnectionSet
public void rollback()
rollback
in interface ConnectionSet
public void setAutoCommit(boolean autoCommit)
setAutoCommit
in interface ConnectionSet