public class PooledDatasourceHelper extends Object
Constructor and Description |
---|
PooledDatasourceHelper() |
Modifier and Type | Method and Description |
---|---|
static DataSource |
convert(org.pentaho.database.model.IDatabaseConnection databaseConnection) |
protected static org.apache.commons.dbcp.ConnectionFactory |
getConnectionFactory(org.pentaho.database.model.IDatabaseConnection databaseConnection,
String url) |
static DataSource |
getJndiDataSource(String dsName) |
static org.apache.commons.dbcp.PoolingDataSource |
setupPooledDataSource(org.pentaho.database.model.IDatabaseConnection databaseConnection) |
public static org.apache.commons.dbcp.PoolingDataSource setupPooledDataSource(org.pentaho.database.model.IDatabaseConnection databaseConnection) throws org.pentaho.platform.api.data.DBDatasourceServiceException
org.pentaho.platform.api.data.DBDatasourceServiceException
protected static org.apache.commons.dbcp.ConnectionFactory getConnectionFactory(org.pentaho.database.model.IDatabaseConnection databaseConnection, String url)
public static DataSource convert(org.pentaho.database.model.IDatabaseConnection databaseConnection) throws org.pentaho.platform.api.data.DBDatasourceServiceException
org.pentaho.platform.api.data.DBDatasourceServiceException
public static DataSource getJndiDataSource(String dsName) throws org.pentaho.platform.api.data.DBDatasourceServiceException
org.pentaho.platform.api.data.DBDatasourceServiceException
Copyright © 2018 Hitachi Vantara. All rights reserved.