Problem in Connecting the Mobile Application With the Database Apache Derby

09 Apr '16, 06:03 AM
2,736 Views
No Forum Badges

I have made a dataservice project. and connect it with the derby apachi database. 

I have also made a mobile service project and want to connect it with the apache derby database.

But when i run the application . I am still getting no data from derby database . The data what i am getting is the fake data.

 

Any Suggestion?

Farooq

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 8

You have to connect the mobile project with the data service project.
Open the Mobile Project and move to the Domain Model tab. Then right click and select the Synchronize Domain Model option. Select your Data Service Project and follow the wizard. At the end of the process you should have a new Class in the Domain Model , which is the one published by the Data Service one.
This is the way in which you can get data from a remote database using the syncrhonization between the mobile application and the remote back-end.

 
x 0
Answer at this question and get points!