Skip to Content
author's profile photo Former Member
Former Member

CDB has data but the device isn't getting none on Sync

Hellow Experts,

This is a continuation of other post of mine.

And the problem is, I had data on SUP for a schedule mbo but the findAll wasn't retrieving data.

So after scheduling fails I changed the MBO cache policy to OnDemand 20 minutes. and the sup behavior was normal.

after deployment the table is empty, after the device syncs the table is full.

GOOD

Then I do a findAll(), and I Get Zero items, this is very strange and makes no sense to me.

But yesterday I had an Idea. What if when data syncs I had an error on that MBO? but no error was found.

I also used the DB.getlogger() to see something more (a warning possibly) but zero errors/warnings.

Sup Server and mobilink log are clean and I would like to try see the Device Database but I don't know how to do this.

Do you guys know how to get device database?

Does anyone here has a approach to deal with this problem?

This is been very challenging but also senseless

Thanks in Advance

Laguerta

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 17, 2014 at 11:37 AM

    Could you give the code you wrote for sync and query. This tutorial might be helpful for you to double check your code:Developing SAP Android Mobile app from scratch - Part 1

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Midhun VP

      Hellow Midhun,

      I'm Bringing Big new, Finally I get data back.

      I had a Synchronization parameter UserId which as a certain number.

      and the data associated to that user was removed, this happend after i made refresh cache on SCC regarding the schedule theme, I think.

      I check the data change for other user and then My data came back.

      Thanks for your efforts 😊

  • Posted on Jul 17, 2014 at 11:30 AM

    Former Member

    one thing you have to remember, whenever you make any change to MBO level, dont forget to (re)deploy mbo to sup/smp server.

    Just check if you get any data at sup CDB level

    How to access SUP CDB (Cache Database) ?

    For accessing device database: How to Read device Database?

    Rgrds,

    JK

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hellow Jitendra,

      The Read Device DB is very good!

      However I'm getting:

      "Could not connect to the database.

      Data source name not found and no default driver specified."

      as 2 of the commeters had I'm trying to get this fix.

      Have you find a solution for that problem?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.