Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Sync process for multiple MBO

$
0
0

Hi All,

 

I have created 4 multiple type of MBO which have different structure.

when i have started my application in android only single MBO will initialize and database will create. Below is my

 

packages.mboPackages.authentication.ProCRMDB

 

if(!ProCRMDB.databaseExists()){

       ProCRMDB.createDatabase();

  }else{

       ProCRMDB.openConnection();

  }

 

But when i am going to call another MBO and i am checking condition below then it will directly goes into else condition and throws exception that

 

com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-141]: Table 'procrm_1_0_counzonestadisf4' not found even i am calling this class at first time.

 

packages.mboPackages.counzonestadisf4.ProCRMDB

if(!ProCRMDB.databaseExists()){

       ProCRMDB.createDatabase();

  }else{

       ProCRMDB.openConnection();

}


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>