Package org.synchronoss.cpo.jdbc
Class AbstractJdbcDataSourceInfo
java.lang.Object
org.synchronoss.cpo.core.AbstractDataSourceInfo
org.synchronoss.cpo.jdbc.AbstractJdbcDataSourceInfo
- All Implemented Interfaces:
DataSourceInfo
- Direct Known Subclasses:
AbstractJdbcDataSource,JndiJdbcDataSourceInfo
A class used for collecting the properties to instantiate the datasource
- Author:
- dberry
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractJdbcDataSourceInfo(String dataSourceName, int fetchSize, int batchSize) Constructs a AbstractJdbcDataSourceInfoAbstractJdbcDataSourceInfo(String className, Properties properties, int fetchSize, int batchSize) Constructs a AbstractJdbcDataSourceInfoAbstractJdbcDataSourceInfo(String className, SortedMap<String, String> properties, int fetchSize, int batchSize) Constructs a AbstractJdbcDataSourceInfo -
Method Summary
Methods inherited from class org.synchronoss.cpo.core.AbstractDataSourceInfo
getBatchSize, getDataSource, getDataSourceName, getFetchSize
-
Constructor Details
-
AbstractJdbcDataSourceInfo
Constructs a AbstractJdbcDataSourceInfo- Parameters:
dataSourceName- - The name of the datasource to instantiate,fetchSize- the number of rows to fetch per round trip on a retrievebatchSize- the number of statements to batch together before executing
-
AbstractJdbcDataSourceInfo
public AbstractJdbcDataSourceInfo(String className, SortedMap<String, String> properties, int fetchSize, int batchSize) Constructs a AbstractJdbcDataSourceInfo- Parameters:
className- - The DataSource className from the Driver.properties- - The list of properties to be passed to the driverfetchSize- the number of rows to fetch per round trip on a retrievebatchSize- the number of statements to batch together before executing
-
AbstractJdbcDataSourceInfo
public AbstractJdbcDataSourceInfo(String className, Properties properties, int fetchSize, int batchSize) Constructs a AbstractJdbcDataSourceInfo- Parameters:
className- - The DataSource className from the Driver.properties- - The list of properties to be passed to the driverfetchSize- the number of rows to fetch per round trip on a retrievebatchSize- the number of statements to batch together before executing
-