public class WebDBContext<DB extends DBDatabase> extends DBContextBase implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected WebApplication |
app |
protected DB |
database |
protected DBMSHandler |
dbms |
| Constructor and Description |
|---|
WebDBContext(DB db) |
| Modifier and Type | Method and Description |
|---|---|
void |
discard()
Unclear weather this is any useful here
|
protected Connection |
getConnection(boolean create) |
DB |
getDatabase() |
DBMSHandler |
getDbms() |
javax.faces.context.FacesContext |
getFacesContext() |
protected DBRollbackManager |
getRollbackManager(boolean create) |
boolean |
isPreparedStatementsEnabled() |
boolean |
isRollbackHandlingEnabled() |
appendRollbackHandler, closeConnection, commit, createCommand, createUtils, executeDelete, executeInsert, executeInsertInto, executeSQL, executeUpdate, getConnection, getUtils, removeRollbackHandler, rollbackprotected final transient WebApplication app
protected final transient DB extends DBDatabase database
protected final transient DBMSHandler dbms
public WebDBContext(DB db)
public DB getDatabase()
public DBMSHandler getDbms()
public boolean isPreparedStatementsEnabled()
isPreparedStatementsEnabled in class DBContextBasepublic boolean isRollbackHandlingEnabled()
isRollbackHandlingEnabled in interface DBContextpublic void discard()
discard in interface DBContextdiscard in class DBContextBaseprotected Connection getConnection(boolean create)
getConnection in class DBContextBaseprotected DBRollbackManager getRollbackManager(boolean create)
getRollbackManager in class DBContextBasepublic javax.faces.context.FacesContext getFacesContext()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.