Class AbstractJdbcDataSourceInfo

java.lang.Object
org.synchronoss.cpo.core.AbstractDataSourceInfo
org.synchronoss.cpo.jdbc.AbstractJdbcDataSourceInfo
All Implemented Interfaces:
DataSourceInfo
Direct Known Subclasses:
AbstractJdbcDataSource, JndiJdbcDataSourceInfo

public abstract class AbstractJdbcDataSourceInfo extends AbstractDataSourceInfo
A class used for collecting the properties to instantiate the datasource
Author:
dberry
  • Constructor Details

    • AbstractJdbcDataSourceInfo

      public AbstractJdbcDataSourceInfo(String dataSourceName, int fetchSize, int batchSize)
      Constructs a AbstractJdbcDataSourceInfo
      Parameters:
      dataSourceName - - The name of the datasource to instantiate,
      fetchSize - the number of rows to fetch per round trip on a retrieve
      batchSize - 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 driver
      fetchSize - the number of rows to fetch per round trip on a retrieve
      batchSize - 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 driver
      fetchSize - the number of rows to fetch per round trip on a retrieve
      batchSize - the number of statements to batch together before executing