diff --git a/src/org/minima/utils/SQLHandler.java b/src/org/minima/utils/SQLHandler.java index 167f25817..14448e413 100644 --- a/src/org/minima/utils/SQLHandler.java +++ b/src/org/minima/utils/SQLHandler.java @@ -171,6 +171,7 @@ public SQLHandler(String zMiniDAppID,boolean zFullPath) throws SQLException, Cla mSQLConnection = getConnection(mDataBase,mMySQLUser,mMySQLPassword); }else { + String mode = ";MODE=MySQL"; if(!zFullPath) { //Calculate the Database file.. BackupManager backup = Main.getMainHandler().getBackupManager(); @@ -178,10 +179,10 @@ public SQLHandler(String zMiniDAppID,boolean zFullPath) throws SQLException, Cla String path = minidappdatabase.getAbsolutePath(); //Use H2 JDBC - mDataBase = "jdbc:h2:"+path; + mDataBase = "jdbc:h2:"+path+mode; }else { //Use H2 JDBC - mDataBase = "jdbc:h2:"+zMiniDAppID; + mDataBase = "jdbc:h2:"+zMiniDAppID+mode; } //Get the connection