Package com.mckoi.database.control

Examples of com.mckoi.database.control.DefaultDBConfig


    WorkingDialog workDialog = new WorkingDialog(null);
    workDialog.setVisible(true);
    workDialog.SetProgress(0);
    DatabaseSystem system = new DatabaseSystem();
    // Create a default configuration
    DefaultDBConfig config = new DefaultDBConfig();
    File ff;
    try {
      ff = Fileio.getFile("data", "data", false, false);
    } catch (Exception ee) {
      SystemLog.ErrorPrint("Cant find db.conf : " + ee.getMessage());
      workDialog.dispose();
      return;
    }
    config.setDatabasePath(ff.getAbsolutePath());
    config.setMinimumDebugLevel(Integer.MAX_VALUE);
    // Set up the log file
    system.setDebugLevel(Integer.MAX_VALUE);
    // Initialize the DatabaseSystem,
    // -----------------------------
    // This will throw an Error exception if the database system has already
View Full Code Here

TOP

Related Classes of com.mckoi.database.control.DefaultDBConfig

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.