Package com.db4o.io

Examples of com.db4o.io.IoAdapter


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

    // The database is encrypted.
    if(databaseKey != null) {
      IoAdapter baseAdapter = dbConfig.io();
      try {
        dbConfig.io(databaseKey.createEncryptingDb4oAdapter(baseAdapter));
      } catch (GlobalOnlyConfigException e) {
        // Fouled up after encrypting/decrypting.
        System.err.println("Caught "+e+" opening encrypted database.");
View Full Code Here

TOP

Related Classes of com.db4o.io.IoAdapter

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.