javacommons/javastorage/src.s60/client/javadataaccessimpl.cpp
changeset 78 71ad690e91f5
parent 21 2a9601315dfc
--- a/javacommons/javastorage/src.s60/client/javadataaccessimpl.cpp	Fri Sep 17 16:44:34 2010 +0300
+++ b/javacommons/javastorage/src.s60/client/javadataaccessimpl.cpp	Mon Oct 04 11:29:25 2010 +0300
@@ -100,8 +100,8 @@
 
     if (JAVA_DATABASE_NAME == aStorageName)
     {
-        sqlStatement.append("NAME FROM ");
-        sqlStatement.append(PREINSTALL_TABLE);
+        sqlStatement.append("SOFTNOTE_MIDLET_ID FROM ");
+        sqlStatement.append(JAVA_SOFTNOTE_TABLE);
     }
     else if (JAVA_OTA_DATABASE_NAME == aStorageName)
     {
@@ -180,6 +180,10 @@
         sqlDes.reset(stringToDes(PREINSTALL));
         LOG(EJavaStorage, EInfo, "Creating PREINSTALL");
         createTable(sqlDes->Des());
+        
+        sqlDes.reset(stringToDes(JAVA_SOFTNOTE));
+        LOG(EJavaStorage, EInfo, "Creating JAVA_SOFTNOTE");
+        createTable(sqlDes->Des());
     }
     else if (JAVA_OTA_DATABASE_NAME == aStorageName
              && !isDBInitialized(aStorageName))