Apama Documentation : Connecting Apama Applications to External Components : Standard IAF Plug-ins : The Database Connector IAF Adapter (ADBC) : The ADBCHelper application programming interface : Specifying the adapter instance
Specifying the adapter instance
Use the setAdapterInstanceName() action of DBUtil to specify an adapter instance.
Note:  
For adapters created in versions of Apama prior to 9.12, the call to setAdapterInstanceName() is optional if the adapter was added as INSTANCE_1.
To specify an adapter instance
*Call the setAdapterInstanceName action, passing in the adapter instance name variable.
For example:
com.apama.database.DBUtil db;
action onload() {
string adapterInstanceName := "EXAMPLE_ADBC_INSTANCE";
db.setAdapterInstanceName(adapterInstanceName);
// ...
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback