Apama 10.3.1 | 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-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.