Package com.sleepycat.persist.impl

Examples of com.sleepycat.persist.impl.PersistCatalog


        model.registerClass(LocaleProxy.class);

        DatabaseConfig dbConfig = new DatabaseConfig();
        dbConfig.setAllowCreate(true);
        DbCompat.setTypeBtree(dbConfig);
        catalog = new PersistCatalog
            (null, env, STORE_PREFIX, STORE_PREFIX + "catalog", dbConfig,
             model, null, false /*rawAccess*/, null /*Store*/);
    }
View Full Code Here


             superClsName);

        /*
         * Open a catalog that uses the stored model.
         */
        PersistCatalog storedCatalog = new PersistCatalog
            (null, env, STORE_PREFIX, STORE_PREFIX + "catalog", null, null,
             null, false /*useCurrentModel*/, null /*Store*/);
        EntityModel storedModel = storedCatalog.getResolvedModel();

        /* Check metadata/types against the stored catalog/model. */
        checkMetadata
            (storedCatalog, storedModel, clsName, nameTypePairs, priKeyIndex,
             superClsName);

        storedCatalog.close();
    }
View Full Code Here

TOP

Related Classes of com.sleepycat.persist.impl.PersistCatalog

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.