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 OracleDataSource.java

public class OracleDataSource implements DataSource {

    static {
        new oracle.jdbc.driver.OracleDriver();
    }

From source file com.interface21.jdbc.datasource.AbstractDataSource.java

/**
 * Abstract base class for Spring's DataSource implementations,
 * taking care of the "uninteresting" glue.
 * @author Juergen Hoeller
 * @since 07.05.2003
 * @see DriverManagerDataSource

From source file com.adviser.osgi.db.datasource.base.IPojoPoolingDataSource.java

/**
 *
 * @author menabe
 */
@Component
@Provides

From source file AbstractDataSource.java

/**
 * Abstract base class for Spring's {@link javax.sql.DataSource}
 * implementations, taking care of the padding.
 *
 * <p>'Padding' in the context of this class means default implementations
 * for certain methods from the <code>DataSource</code> interface, such as

From source file org.compass.gps.device.jdbc.datasource.AbstractDataSource.java

/**
 * Abstract base class for Spring's DataSource implementations, taking care of
 * the "uninteresting" glue.
 * 
 * <p>
 * Taken from Spring.

From source file org.hsweb.web.core.datasource.DynamicDataSource.java

/**
 * @author zhouhao
 */
public interface DynamicDataSource extends DataSource {
    String DATA_SOURCE_FLAG = "data-source-id";

From source file org.sakaiproject.genericdao.springutil.SmartDataSourceWrapper.java

/**
 * This allows us to trick spring into not handling our dataSources for us,
 * it keeps spring from automatically closing every non-spring DataSource connection
 * after each method is executed
 * 
 * @author Aaron Zeckoski (azeckoski @ gmail.com)

From source file com.haulmont.cuba.testsupport.TestDataSource.java

public class TestDataSource implements DataSource {

    private BasicDataSource dataSource;

    public TestDataSource(String connUrl, String user, String password) {
        dataSource = new BasicDataSource();

From source file org.springframework.jdbc.datasource.AbstractDataSource.java

/**
 * Abstract base class for Spring's {@link javax.sql.DataSource}
 * implementations, taking care of the padding.
 *
 * <p>'Padding' in the context of this class means default implementations
 * for certain methods from the {@code DataSource} interface, such as

From source file h2o.common.util.dao.datasource.AbstractDataSource.java

/**
 * Abstract base class for Spring's {@link DataSource}
 * implementations, taking care of the padding.
 *
 * <p>'Padding' in the context of this class means default implementations
 * for certain methods from the <code>DataSource</code> interface, such as