Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere Java API reference » ianywhere.qanywhere.client package » Interface QAManager

 

open method

Syntax
void ianywhere.qanywhere.client.QAManager.open(
  short mode
)
throws QAException
Parameters
  • mode¬†¬† The acknowledgement mode, one of AcknowledgementMode.EXPLICIT_ACKNOWLEDGEMENT or AcknowledgementMode.IMPLICIT_ACKNOWLEDGEMENT.

Throws
  • Thrown if there is a problem opening the QAManager instance.
Remarks

Opens the QAManager with the given AcknowledgementMode value.

The open method must be the first method called after creating a QAManager.

If a database connection error is detected, you can re-open a QAManager by calling the close method followed by the open method. When re-opening a QAManager, you do not need to re-create it, reset the properties, or reset the message listeners. The properties of the QAManager cannot be changed after the first open, and subsequent open calls must supply the same acknowledgement mode.

See Also

Interface AcknowledgementMode

EXPLICIT_ACKNOWLEDGEMENT variable

IMPLICIT_ACKNOWLEDGEMENT variable

close method