Deploying and Managing Apama Applications > Using the Apama Database Connector > The ADBC Event Application Programming Interface > Handling data storing errors
Handling data storing errors
If your application uses the storeData or storeEvent actions, you can use the setStoreErrorCallback action to handle failures. This is useful for applications that make a large number of store calls where high performance is important and acknowledgement for an individual store operation call is not required. A single setStoreErrorCallback action can handle the failure of multiple store calls. The setStoreErrorCallback action is defined as follows:

action setStoreErrorCallback(
action<Connection, integer, integer, string> callback)
{
Calls to storeData and storeEvent actions return unique integer identifiers; use these identifiers in the setStoreErrorCallback action. The first integer specifies the indentifier of the first store action where an error occurred; the second integer specifies the indentifier of the last store action error. callback specifies the name of the user-defined error handling action.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.