Example usage for javax.sql DataSource interface-usage

List of usage examples for javax.sql DataSource interface-usage

Introduction

In this page you can find the example usage for javax.sql DataSource interface-usage.

Usage

From source file com.gs.obevo.db.impl.core.jdbc.SingleConnectionDataSource.java

/**
 * Data source that will keep a single connect open for its lifetime duration. Meant for classes to easily access the
 * database for testing purposes.
 */
public class SingleConnectionDataSource implements DataSource {
    private final DataSource ds;

From source file herddb.jdbc.BasicHerdDBDataSource.java

/**
 * HerdDB DataSource
 *
 * @author enrico.olivelli
 */
public class BasicHerdDBDataSource implements javax.sql.DataSource, AutoCloseable {

From source file com.jaspersoft.jasperserver.api.engine.common.virtualdatasourcequery.VirtualSQLDataSource.java

/**
 * @author Ivan Chan (ichan@jaspersoft.com)
 * @version $Id: VirtualSQLDataSource.java 47331 2014-07-18 09:13:06Z kklein $
 */
public class VirtualSQLDataSource implements javax.sql.DataSource {

From source file com.alibaba.otter.common.push.datasource.media.MediaPushDataSource.java

/**
 * media datasource support
 * 
 * @author jianghang 2013-4-18 ?03:45:44
 * @version 4.1.8
 */

From source file com.l2jfree.sql.L2DataSource.java

/**
 * @author NB4L1
 * @author savormix
 */
public abstract class L2DataSource implements DataSource {
    public enum JDBCProvider {

From source file com.taobao.tddl.jdbc.atom.jdbc.TDataSourceWrapper.java

public class TDataSourceWrapper implements DataSource, SnapshotValuesOutputCallBack {
    private static Log logger = LogFactory.getLog(TDataSourceWrapper.class);
    private final DataSource targetDataSource;
    /**
     * threadCount, Datasource
     * threadCount

From source file edu.utah.further.core.data.service.ConfigurableBasicDataSource.java

/**
 * A wrapper around a {@link BasicDataSource} that allows easy configuration from a
 * properties file, whose format looks like that (properties' names should be exactly the
 * way they are below, values will change, of course, depending on your case):
 * <blockquote>
 * 

From source file com.alibaba.wasp.jdbcx.JdbcDataSource.java

/**
 * A data source for H2 database connections. It is a factory for XAConnection
 * and Connection objects. This class is usually registered in a JNDI naming
 * service. To create a data source object and register it with a JNDI service,
 * use the following code:
 * 

From source file uk.ac.sanger.cgp.dbcon.core.AbstractDbConDataSource.java

/**
 * <p>
 * Used as a default implementation of the data source object which uses the
 * AbstractPools objects to retrieve pools and their connections from the given
 * synonym specified through construction.
 *

From source file org.enhydra.jdbc.pool.StandardPoolDataSource.java

/**
 * StandardPoolDataSource class allows to make some operations on
 * PooledConnection. It implements PoolHelper for the 3 methods :<p>
 * create   : create a PooledConnection<p>
 * create(user,password)   : create a PooledConnection with an other user/password<p>
 * testThisObject : check if the object is still valid<p>