Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

class DatabaseTransactionExplicitCommitNotAllowedException

Exception to deny attempts to explicitly manage transactions.

This exception will be thrown when the PDO connection commit() is called. Code should never call this method directly.

Hierarchy

Expanded class hierarchy of DatabaseTransactionExplicitCommitNotAllowedException

Related topics

Database abstraction layer
Allow the use of different database servers using the same code base.

File

includes/database/database.inc, line 1912

View source
class DatabaseTransactionExplicitCommitNotAllowedException  extends Exception {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.