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 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 . It will create a folder called dbsync-sdk.
  3. Setup Eclipse for ApiCode Environment.
  4. Now run Run the test class, DummyTest.java which that is a JUnit class with test methods inside.
  5. You can view the results in the output window.

So if As you see in the results, it runs the Read operation First and then the Write operation so since . 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 parameters: (1) samxx@avankia.com; and (2) rajyy@avankia.com and it . This is returning back the SaveResult Save Result 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.

...

  • Setup Eclipse for App Code Environment.
  • App Code Anatomy.