Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
ora_commit

ora_commit

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

ora_commit -- Commit an Oracle transaction

Description

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.

Parameters

connection

A connection identifier, opened with ora_logon().

Return Values

Returns TRUE on success or FALSE on failure. Details about the error can be retrieved using the ora_error() and ora_errorcode() functions.

ChangeLog

VersionDescription
5.1.0

The oracle extension is deprecated in favor of oci8.

Notes

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

oci_commit()

See Also

ora_commiton()
ora_commitoff()