2022

Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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 ApiCode 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.

Related References 

  • Setup Eclipse for App Code Environment
  • App Code Anatomy
  • No labels