database.commitTransaction() (Method)

Commits the changes made during this transaction.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESdatabase.commitTransaction()

In the transaction based mechanism, you can control the commit and rollback of the transaction if necessary. You will need to explicitly call this method to commit the changes to the database.

Refer to the Status Code topic for a list of the status code values that are returned by this method.

See also:database.beginTransaction(), database.rollbackTransaction(), Status code