public class RedshiftDataSourceFactory extends Object
| Constructor and Description |
|---|
RedshiftDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPoolDataSource |
createConnectionPoolDataSource(Properties props) |
DataSource |
createDataSource(Properties props)
Will create and return either a
SimpleDataSource or a PoolingDataSource
depending on the presence in the supplied properties of any pool-related property (eg.: JDBC_INITIAL_POOL_SIZE or JDBC_MAX_POOL_SIZE). |
Driver |
createDriver(Properties props) |
XADataSource |
createXADataSource(Properties props) |
public Driver createDriver(Properties props) throws SQLException
SQLExceptionpublic DataSource createDataSource(Properties props) throws SQLException
SimpleDataSource or a PoolingDataSource
depending on the presence in the supplied properties of any pool-related property (eg.: JDBC_INITIAL_POOL_SIZE or JDBC_MAX_POOL_SIZE).SQLExceptionpublic ConnectionPoolDataSource createConnectionPoolDataSource(Properties props) throws SQLException
SQLExceptionpublic XADataSource createXADataSource(Properties props) throws SQLException
SQLExceptionCopyright © 2024 Amazon.com Inc.. All rights reserved.