public class NonPooledOrJndiDatasourceService extends BaseDatasourceService
ACCESS_TO_UNDERLYING_CONNECTION_ALLOWED, DEFAULT_AUTO_COMMIT, DEFAULT_CATALOG, DEFAULT_READ_ONLY, DEFAULT_TRANSACTION_ISOLATION, IDBDATASOURCE_SERVICE, INITIAL_SIZE, JDBC_DATASOURCE, JDBC_POOL, LOG_ABANDONED, MAX_ACTIVE_KEY, MAX_IDLE_KEY, MAX_OPEN_PREPARED_STATEMENTS, MAX_WAIT_KEY, MIN_IDLE_KEY, POOL_PREPARED_STATEMENTS, QUERY_KEY, REMOVE_ABANDONED, REMOVE_ABANDONED_TIMEOUT, TEST_ON_BORROW, TEST_ON_RETURN, TEST_WHILE_IDLE, TIME_BETWEEN_EVICTION_RUNS_MILLIS, TRANSACTION_ISOLATION_NONE_VALUE
Constructor and Description |
---|
NonPooledOrJndiDatasourceService() |
Modifier and Type | Method and Description |
---|---|
protected DataSource |
resolveDatabaseConnection(org.pentaho.database.model.IDatabaseConnection databaseConnection)
This should have been abstract, but changes to this API at a point release is not advised.
|
protected DataSource |
retrieve(String dsName)
This should have been abstract, but changes to this API at a point release is not advised.
|
clearCache, clearDataSource, getCacheManager, getDataSource, getDatasourceMgmtService, getDSBoundName, getDSUnboundName, getJndiDataSource
protected DataSource retrieve(String dsName) throws org.pentaho.platform.api.data.DBDatasourceServiceException
BaseDatasourceService
retrieve
in class BaseDatasourceService
dsName
- name of JNDI referenceorg.pentaho.platform.api.data.DBDatasourceServiceException
protected DataSource resolveDatabaseConnection(org.pentaho.database.model.IDatabaseConnection databaseConnection) throws org.pentaho.platform.api.data.DBDatasourceServiceException
BaseDatasourceService
resolveDatabaseConnection
in class BaseDatasourceService
org.pentaho.platform.api.data.DBDatasourceServiceException
Copyright © 2019 Hitachi Vantara. All rights reserved.