Apama Documentation : Connecting Apama Applications to External Components : Using Standard Adapters : Using the Apama Database Connector : The ADBC Event Application Programming Interface : Running commands
Running commands
To execute database commands, such as creating a table or SQL operations such as Delete and Update, use the Connection event's runCommand action.
To run a command
1. Call the runCommand action of the Connection event (for the open database) with the a string containing the SQL command to execute and the name of the callback action.
2. Create a handler action for the runCommand() callback action.
The definitions for the two forms of the runCommand are:

action runCommand(
  string commandString,
string token,
  action <Connection, string, string> callback)
and:

action runCommandFull(
  string commandString,
string token,
  dictionary<string, string> extraParams,
  action<Connection, string, string> callback)
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback