public interface DBContext
Modifier and Type | Method and Description |
---|---|
void |
appendRollbackHandler(DBRollbackHandler handler) |
void |
commit() |
DBCommand |
createCommand() |
void |
discard() |
int |
executeDelete(DBTable from,
DBCommand cmd) |
int |
executeInsert(DBCommand cmd) |
int |
executeInsertInto(DBTable table,
DBCommand cmd) |
int |
executeSQL(String sqlCmd,
Object[] sqlParams) |
int |
executeUpdate(DBCommand cmd) |
Connection |
getConnection() |
DBMSHandler |
getDbms() |
DBUtils |
getUtils() |
boolean |
isRollbackHandlingEnabled() |
void |
removeRollbackHandler(DBObject object) |
void |
rollback() |
DBMSHandler getDbms()
Connection getConnection()
DBUtils getUtils()
DBCommand createCommand()
int executeInsert(DBCommand cmd)
int executeUpdate(DBCommand cmd)
void commit()
void rollback()
boolean isRollbackHandlingEnabled()
void appendRollbackHandler(DBRollbackHandler handler)
void removeRollbackHandler(DBObject object)
void discard()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.