Package org.jenkinsci.plugins.database

Examples of org.jenkinsci.plugins.database.BasicDataSource2


    public H2DemoDatabase() {
    }

    @Override
    public DataSource getDataSource() throws SQLException {
        BasicDataSource2 ds = new BasicDataSource2();
        StandaloneInMemProcessEngineConfiguration master = new StandaloneInMemProcessEngineConfiguration();
        ds.setUrl(master.getJdbcUrl());
        ds.setUsername(master.getJdbcUsername());
        ds.setPassword(master.getJdbcPassword());
        ds.setDriverClass(Driver.class);
        return ds;
    }
View Full Code Here

TOP

Related Classes of org.jenkinsci.plugins.database.BasicDataSource2

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.