Package com.db4o.config

Examples of com.db4o.config.Configuration.diagnostic()


    dbConfig.automaticShutDown(false);
    /* Block size 8 should have minimal impact since pointers are this
     * long, and allows databases of up to 16GB.
     * FIXME make configurable by user. */
    dbConfig.blockSize(8);
    dbConfig.diagnostic().addListener(new DB4ODiagnosticListener());

    dbConfig.exceptionsOnNotStorable(false);

    System.err.println("Optimise native queries: "+dbConfig.optimizeNativeQueries());
    System.err.println("Query activation depth: "+dbConfig.activationDepth());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.