Package xbird.util.jdbc

Examples of xbird.util.jdbc.DBAccessor


    private QueryRunnerFactory() {}

    public static QueryRunner create() {
        if(queryRunner != null)
            return queryRunner;
        DBAccessor dba = DBAccessorFactory.create();
        queryRunner = new QueryRunner(dba.getDataSource());
        return queryRunner;
    }
View Full Code Here


     * Creates Database accessor.
     */
    public static DBAccessor create() {
        if(dbAccessor != null)
            return dbAccessor;
        final DBAccessor dba;
        if(KIND_POSTGRES.equals(DB_KIND)) {
            dba = new PGAccessor();
        } else if(KIND_DERBY.equals(DB_KIND)) {
            dba = new DerbyAccessor();
        } else {
View Full Code Here

TOP

Related Classes of xbird.util.jdbc.DBAccessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.