Package org.geowebcache.storage.metastore.jdbc

Examples of org.geowebcache.storage.metastore.jdbc.JDBCMetaBackend


    private StorageBroker resetAndPrepBasicTestDb() throws Exception {
        System.out.println("Deleting old test database.");
        deleteDb(TEST_DB_NAME);

        System.out.println("Creating new metastore in " + findTempDir() + File.separator +TEST_DB_NAME);
        MetaStore metaStore = new JDBCMetaBackend("org.h2.Driver",
                "jdbc:h2:file:" + findTempDir() + File.separator +TEST_DB_NAME + ";TRACE_LEVEL_FILE=0",
                "sa",
                "");

        String blobPath = findTempDir() + File.separator + TEST_BLOB_DIR_NAME;
View Full Code Here


    }

    public MetaStore setup() throws Exception {
        StorageBrokerTest.deleteDb(TEST_DB_NAME);
       
        return new JDBCMetaBackend("org.h2.Driver",
                "jdbc:h2:file:" + StorageBrokerTest.findTempDir()
                + File.separator +TEST_DB_NAME + ";TRACE_LEVEL_FILE=0",
                "sa",
                "");
    }
View Full Code Here

TOP

Related Classes of org.geowebcache.storage.metastore.jdbc.JDBCMetaBackend

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.