2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Panel
Prerequisites
# Install Eclipse IDE for java development 

  1. Download DBSyc-sdk.zip from http://www.mydbsync.com/download/dbsync-sdk.zip
  2. Unzip the dbsync-sdk.zip file into a location and it will create a folder called dbsync-sdk
  3. Setup Eclipse for AppCode Environment
  4. Now run the test class, DummyTest.java which is a JUnit class with test methods inside.
  5. You can view the results in the output window

So if you see the results it runs the Read operation First and then the Write operation so since in the filter we are passing "Rajeev" as the parameter it is printing the relevant output with Rajeev and the corresponding email associated with the record. In the Write operation we are passing two input parameters samxx@avankia.com andrajyy@avankia.com and it is returning back the SaveResult array with 2 results. However if you see the output it is not printing the names of the same. If you view the class "MyDummyService", it has two methods "readMyFirst" and "writeMyFirst", the 1st one is a reader and the 2nd one is a writer method.

Panel
Related References 
  1. Setup Eclipse for App Code Environment