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);
// ...