Package com.alibaba.druid.test.util

Examples of com.alibaba.druid.test.util.OracleMockDriverJdbc3


    protected void setUp() throws Exception {
        dataSource = new DruidDataSource();

        dataSource.setOracle(true);
        dataSource.setUrl("jdbc:mock:xxx");
        dataSource.setDriver(new OracleMockDriverJdbc3());
        dataSource.setPoolPreparedStatements(true);
        dataSource.setConnectionProperties("defaultRowPrefetch=50");
        dataSource.setDbType("oracle");
        // dataSource.setFilters("log4j");
    }
View Full Code Here


        wall.setConfig(new WallConfig());
        wall.getConfig().setWrapAllow(true);

        dataSource.setOracle(true);
        dataSource.setUrl("jdbc:mock:xxx");
        dataSource.setDriver(new OracleMockDriverJdbc3());
        dataSource.setPoolPreparedStatements(true);
        dataSource.setConnectionProperties("defaultRowPrefetch=50");
        dataSource.setFilters("stat");
        dataSource.getProxyFilters().add(wall);
        dataSource.setDbType("oracle");
View Full Code Here

TOP

Related Classes of com.alibaba.druid.test.util.OracleMockDriverJdbc3

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.