Index: jbidwatcher/trunk/src/com/jbidwatcher/util/db/Database.java =================================================================== --- jbidwatcher/trunk/src/com/jbidwatcher/util/db/Database.java (revision 952) +++ jbidwatcher/trunk/src/com/jbidwatcher/util/db/Database.java (revision 954) @@ -193,6 +193,11 @@ } JConfig.kill("jbidwatcher.created_db"); return true; + } else if(JConfig.queryConfiguration("temp.db.switch2derby", "false").equals("true")) { + JConfig.kill("db.protocol"); + JConfig.kill("db.driver"); + JConfig.kill("db.user"); + JConfig.kill("db.pass"); } return false; }