Question

I am developing a hybrid application which needs database connectivity to store and retrieve data.I am using IBM db2 database and worklight 6.1. I need the javascript code to connect to db2 so that I can enter information directly to the database from the apps UI and data from db2 should be displayed on the screen.(i.e.both side connectivity-->data retieval and storage in the database)

No correct solution

OTHER TIPS

This is not specific to DB2.

What you really need to do is to read the SQL adapter training module, and learn how to send data to and retrieve data from - a database. Then you need to review the sample project provided in the same URL above.

You can also take a look at the following (after you read the training module). The concept is the same in nature, just for DB2...:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top