List of usage examples for javax.sql DataSource interface-usage
From source file org.enhydra.jdbc.standard.StandardDataSource.java
/**
* Provides a Data Source which can be used to generate JDBC connections.
* <p/>
* This class is generic in the sense that it does not rely upon anything other
* than standard Java APIs. It uses java.sql.DriverManager and preconfigured
* properties to construct a JDBC connection.
From source file fr.cnes.sitools.datasource.jdbc.business.SitoolsDataSource.java
/**
* Encapsulation of javax.sql.DataSource for : - Schema connection management - Presentation of generic methods for SQL
* database consulting
*
* FIXME ne plus utiliser JdbcRowSet implementation de sun >> warning au runtime
*
From source file org.opennms.netmgt.config.DataSourceFactory.java
/**
* <p>
* This is the singleton class used to load the OpenNMS database configuration
* from the opennms-database.xml. This provides convenience methods to create
* database connections to the database configured in this default xml
* </p>
From source file com.adaptris.jdbc.connection.FailoverDataSource.java
/**
* Datasource that has a connection capable of failover to an alternate
* database.
* <p>
* Because of we want to failover to an alternate database, the implementation
* of <code>getConnection(String username, String password)
From source file org.opennms.core.db.DataSourceFactory.java
/**
* <p>
* This is the singleton class used to load the OpenNMS database configuration
* from the opennms-database.xml. This provides convenience methods to create
* database connections to the database configured in this default xml
* </p>
From source file org.opennms.netmgt.dao.db.TemporaryDatabase.java
/** * * @author <a href="mailto:brozow@opennms.org">Mathew Brozowski</a> */ public class TemporaryDatabase implements DataSource { private static final String TEST_DB_NAME_PREFIX = "opennms_test_";
From source file fr.cnes.sitools.datasource.jdbc.business.SitoolsSQLDataSource.java
/**
* Encapsulation of javax.sql.DataSource for : - Schema connection management - Presentation of generic methods for SQL
* database consulting
*
* FIXME ne plus utiliser JdbcRowSet implementation de sun >> warning au runtime
*
From source file org.openspaces.jdbc.datasource.DbcpBasicDataSource.java
/**
* <p>An adaption of {@link org.apache.commons.dbcp.BasicDataSource} from jakarta commons dbcp
* that uses a space to provide with a pooled data source implementation.
*
* <p>Provides all the different basic data source parameters. Requires an {@link com.j_spaces.core.IJSpace}
* instance.
From source file org.opennms.core.test.db.TemporaryDatabase.java
/** * * @author <a href="mailto:brozow@opennms.org">Mathew Brozowski</a> */ public class TemporaryDatabase implements DataSource { private static final String TEST_DB_NAME_PREFIX = "opennms_test_";
From source file com.funambol.server.db.RoutingDataSource.java
/**
* The Routing DataSource datasource works as proxy versus several databases;
* it wraps the real datasources and when the getConnection() method is called,
* it uses a PartitioningCriteria to know the name of the datasource to use
* based upon a partitioning key.
* Since the getConnection() method doesn't provide any sort of information to