Examples of messageLevel()


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

//    globalConfig.diagnostic().addListener(new DiagnosticListener() {
//      public void onDiagnostic(Diagnostic d) {
//        System.out.println(d);
//      }
//    });
    globalConfig.messageLevel(0);
    globalConfig.activationDepth(1);
    globalConfig.flushFileBuffers(false);
    globalConfig.callConstructors(true);
    globalConfig.exceptionsOnNotStorable(true);
    globalConfig.objectClass(AbstractEntity.class).objectField("fId").indexed(true); //$NON-NLS-1$
View Full Code Here

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

     */
    // LAZY appears to cause ClassCastException's relating to db4o objects inside db4o code. :(
    // Also it causes duplicates if we activate immediately.
    // And the performance gain for e.g. RegisterMeRunner isn't that great.
//    dbConfig.queries().evaluationMode(QueryEvaluationMode.LAZY);
    dbConfig.messageLevel(1);
    dbConfig.activationDepth(1);
    /* TURN OFF SHUTDOWN HOOK.
     * The shutdown hook does auto-commit. We do NOT want auto-commit: if a
     * transaction hasn't commit()ed, it's not safe to commit it. For example,
     * a splitfile is started, gets half way through, then we shut down.
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.