public class JNDIDatabaseService extends DefaultDataBaseService
DatabaseService that also looks for a pooled connection via JNDID.POSTGRESQL_TYPE, TRANSACTIONS_FEATURE, TRANSACTIONS_ROLLBACK_TRANSIENT_ERRORS, TRANSACTIONS_SERIALIZE_FEATURELOG_INSERT_FEATURE, LOG_QUERY_FEATURE, LOG_UPDATE, USE_SQL_DISTICT_FEATURE| Constructor and Description |
|---|
JNDIDatabaseService(AppContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected SQLContext |
makeSQLContext(java.lang.String tag,
java.util.Properties prop)
default method for creating a
SQLContext from InitParameters
This method is only invoked the first time an AppContext needs a Connection
to reduce overhead in static pages. |
addClosable, cleanup, closeRetainedClosables, commitTransaction, getConnectionAttributes, getContext, getSQLContext, getSQLContext, getSQLContext, getTargetIsolationLevel, getType, handleError, inTransaction, logError, parseLevel, removeClosable, rollbackTransaction, setSQLContext, startTransaction, stopTransaction, transactionStagepublic JNDIDatabaseService(AppContext ctx)
protected SQLContext makeSQLContext(java.lang.String tag, java.util.Properties prop) throws java.sql.SQLException
DefaultDataBaseServiceSQLContext from InitParameters
This method is only invoked the first time an AppContext needs a Connection
to reduce overhead in static pages.makeSQLContext in class DefaultDataBaseServicejava.sql.SQLException