Forum und email
ora_commit

ora_commit

(PHP 3, PHP 4, PHP 5 <= 5.1.0RC1)

ora_commit -- Commit an Oracle transaction

Popis

bool ora_commit ( resource connection )

Commits an Oracle transaction.

A transaction is defined as all the changes on a given connection since the last commit/rollback, autocommit was turned off or when the connection was established.

Seznam parametrů

connection

A connection identifier, opened with ora_logon().

Návratové hodnoty

Vrací TRUE při úspěchu, FALSE při selhání. Details about the error can be retrieved using the ora_error() and ora_errorcode() functions.

ChangeLog (záznam změn)

VerzePopis
5.1.0

The oracle extension is deprecated in favor of oci8.

Poznámky

When using oci8 as a replacement for the deprecated oracle extension, consider using:

oci_commit()