Package jfix.db4o.engine

Examples of jfix.db4o.engine.PersistenceEngine


   * File.separator, the given database-name will be used as default directory
   * for the database-file.
   */
  public static void open(String database) {
    try {
      PersistenceEngine engine = (PersistenceEngine) Class.forName(
          persistenceEngineClassName).newInstance();
      engine.open(database);
      odb = new ObjectDatabase(engine);
      odb.open();
    } catch (Exception e) {
      e.printStackTrace();
      throw new RuntimeException(e);
View Full Code Here

TOP

Related Classes of jfix.db4o.engine.PersistenceEngine

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.