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 net.kamhon.ieagle.dao.DynamicDataSource.java

public class DynamicDataSource implements DataSource, InitializingBean {
    private static final Log log = LogFactory.getLog(DynamicDataSource.class);

    private DataSource dataSource;
    private String jndiName;
    private String driverClassName;

From source file org.trustedanalytics.servicebroker.hive.config.KerberosDataSource.java

public final class KerberosDataSource extends AbstractDataSource implements DataSource {

    String JDBC_DRIVER = "org.apache.hive.jdbc.HiveDriver";
    private static final String TICKET_CACHE_PATH_PARAM = "hadoop.security.kerberos.ticket.cache.path";

    private final String jdbcUrl;

From source file net.fender.sql.ManagedConnectionDataSource.java

/**
 * @author Eric Fenderbosch
 */
public abstract class ManagedConnectionDataSource implements DataSource {

    private static final Log log = LogFactory.getLog(ManagedConnectionDataSource.class);

From source file org.apache.mahout.cf.taste.impl.model.jdbc.ConnectionPoolDataSource.java

/**
 * <p>
 * A wrapper {@link DataSource} which pools connections.
 * </p>
 */
public final class ConnectionPoolDataSource implements DataSource {

From source file com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.SQLDataSourceWrapper.java

public class SQLDataSourceWrapper implements DataSource {

    private DataSource basicDataSource;
    private TibcoDriverManager tibcoDriverManager;

    public SQLDataSourceWrapper(DataSource basicDataSource) {

From source file gov.va.vinci.leo.tools.db.LeoDataSource.java

/**
 * DataSource that creates/manages the database connection and returns a reference to the connection object.
 *
 * User: Thomas Ginter
 * Date: 7/17/14
 * Time: 14:08

From source file cz.lbenda.dataman.db.DatamanDataSource.java

/** Implementation of data source
 * Created by Lukas Benda <lbenda @ lbenda.cz> on 9/23/14.
 */
public class DatamanDataSource implements DataSource {

    private final static org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(DatamanDataSource.class);

From source file org.tdmx.lib.control.datasource.DynamicDataSource.java

/**
 * Manages a pooled DataSource per PartitionId. The PartitionId is shared with the DynamicDataSource via ThreadLocal
 * storage since the javax.sql.DataSource does not foresee passing in context.
 * 
 * @author Peter
 * 

From source file lineage2.commons.dbcp.BasicDataSource.java

/**
 * @author Mobius
 * @version $Revision: 1.0 $
 */
public class BasicDataSource implements DataSource {
    /**

From source file net.sf.infrared.collector.impl.persistence.InProcessDataSource.java

public class InProcessDataSource implements DataSource, InitializingBean, DisposableBean {
    private static final String DB_SCHEMA_FILE = "net/sf/infrared/collector/impl/persistence/hsqldb-schema.script";
    private static final String DB_PROPS_FILE = "net/sf/infrared/collector/impl/persistence/hsqldb.properties";

    public static final String DEFAULT_DB_PATH = System.getProperty("user.home") + File.separator + ".infrared";