Db::get_transactional()
Prev | Chapter 13. The DbTxn Handle | Next

## Db::get_transactional()

    #include <db_cxx.h>

    int
    Db::get_transactional()

The `Db::get_transactional()` method returns non-zero if the Db handle has been opened in a transactional mode.

The `Db::get_transactional()` method may be called at any time during the life of the application.

The `Db::get_transactional()` method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

### Class

Db

### See Also

Transaction Subsystem and Related Methods

Prev | Up | Next
Chapter 13. The DbTxn Handle | Home | DbEnv::cdsgroup_begin()