## Uses of Class
de.esprit.netsuite.server.db.InvalidDataSourceException

- Packages that use InvalidDataSourceException
  Package | Description
  --- | ---
  de.esprit.netsuite.netdata.agent | Contains base classes for implementing custom network agents
  de.esprit.netsuite.server.batch | Contains classes that implement and manage the available server processes
  de.esprit.netsuite.server.db | Contains classes for server side database configuration.

- - ### Uses of InvalidDataSourceException in de.esprit.netsuite.netdata.agent

    Methods in de.esprit.netsuite.netdata.agent that throw InvalidDataSourceException
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | AbstractTestAgent.`resetToDefaultDataSource()`
    `DatabaseConnection` | AbstractTestAgent.`resetToPreviousDataSource()`
    `DatabaseConnection` | AbstractTestAgent.`selectDataSource(java.lang.String dataSourceName)`

  - ### Uses of InvalidDataSourceException in de.esprit.netsuite.server.batch

    Methods in de.esprit.netsuite.server.batch that throw InvalidDataSourceException
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | AbstractBatchTask.`resetToDefaultDataSource()`
    `DatabaseConnection` | AbstractBatchTask.`resetToPreviousDataSource()`
    `DatabaseConnection` | AbstractBatchTask.`selectDataSource(java.lang.String dataSourceName)`

  - ### Uses of InvalidDataSourceException in de.esprit.netsuite.server.db

    Methods in de.esprit.netsuite.server.db that throw InvalidDataSourceException
    Modifier and Type | Method and Description
    --- | ---
    `DBConnectionPool` | DatabaseManager.`getDataSource(java.lang.String dataSourceName)` Returns the corresponding DBConnectionPool or null if not found
    `DatabaseConnection` | DatabaseManager.`resetToDefaultDataSource(SessionId sessId)` Resets to the default DataSource which is the first one configured in the config file.
    `DatabaseConnection` | DatabaseManager.`resetToPreviousDataSource(SessionId sessId)` Resets to the previously selected DataSource.
    `DatabaseConnection` | DatabaseManager.`selectDataSource(SessionId sessId, java.lang.String dataSourceName)` Selects the DataSource by name.

Copyright © 2014 EsprIT-Systems. All Rights Reserved.