Example usage for org.apache.commons.dbcp BasicDataSourceFactory subclass-usage

List of usage examples for org.apache.commons.dbcp BasicDataSourceFactory subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.dbcp BasicDataSourceFactory subclass-usage.

Usage

From source file org.sonar.server.database.UniqueDatasourceFactory.java

public class UniqueDatasourceFactory extends BasicDataSourceFactory {

    /**
     * getObjectInstance can be called multiple times (at each jndi.lookup calls), BasicDataSourceFactory getObjectInstance
     * method impl return each times a new datasource, so cache it and make sure that this factory
     * always return the same datasource object instance

From source file org.pepstock.jem.node.resources.impl.jdbc.JdbcFactory.java

/**
 * Custom JBDC Factory, which extends APACHE DB pool, to set the connection properties 
 * 
 * @author Andrea "Stock" Stocchero
 * @version 2.2
 */