Hitachi

Hitachi Advanced Database Application Development Guide


15.5.2 AUTOCOMMIT specifications

If AUTOCOMMIT is ON, a commit is executed. Information about preprocessing that has already been performed (information from execution of SQLPrepare) is not deleted by a commit that is issued automatically after SQLExecute, SQLExecDirect, SQLExecDirectW, or SQLCloseCursor has been executed.

Example:
  1. SQLPrepare is executed in statement A.

  2. SQLPrepare is executed in statement B.

  3. SQLExecute is executed in statement A (commit is issued automatically).

  4. SQLExecute is executed in statement B (commit is executed; preprocessing information in 3 is not deleted).