cancel
Showing results for 
Search instead for 
Did you mean: 

How to Clear data in MBO Tables in Android

Former Member
0 Kudos

We have implemented Native android Enterprise  application.

Since it's an enterprise level application the transnational data is very heavy and we are running the application in offline Mode.

In the initial sync we are getting data from MBO and storing it in LBO(Local business object).

We are doing transactions Using data present in LBO.

Since we have data in both MBOS and LBOS the performance is very slow.

Kindly suggest how to clear the data from MBO because we are not using any more after the initial sync.

We have tried using 

Tablename object.findall()

{

object.delete();

}

Kindly suggest any more methods we have to delete the table in one statement.

Quick response will be more appreciated and will be helpful for us.

Thank's in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

If you never use all MBO data after initial sync, then I suppose that to use "deletedatabase()".

The method delete all tables.

Thanks.

Former Member
0 Kudos

Thank's for your reply.

Any idea how to delete table by table?