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_FEATURE
LOG_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, transactionStage
public JNDIDatabaseService(AppContext ctx)
protected SQLContext makeSQLContext(java.lang.String tag, java.util.Properties prop) throws java.sql.SQLException
DefaultDataBaseService
SQLContext
from InitParameters
This method is only invoked the first time an AppContext needs a Connection
to reduce overhead in static pages.makeSQLContext
in class DefaultDataBaseService
java.sql.SQLException