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, rollback
protected 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 DBContextBase
public boolean isRollbackHandlingEnabled()
isRollbackHandlingEnabled
in interface DBContext
public void discard()
discard
in interface DBContext
discard
in class DBContextBase
protected Connection getConnection(boolean create)
getConnection
in class DBContextBase
protected DBRollbackManager getRollbackManager(boolean create)
getRollbackManager
in class DBContextBase
public javax.faces.context.FacesContext getFacesContext()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.