- skip to content

# Database Abstraction Layer

### User Tools

- Login

### Site Tools

- Recent changes
- Media Manager
- Sitemap

### Sidebar

##### Resources

- Reference Manual
- User Guide
- The Data Dictionary
- ADOdb-xmlschema
- ADOdb Active Record
- Performance Monitoring
- Date/Time Library
- Session Management Library
- Unsupported Addons
- Coding Standards

##### Supported Databases

- Access
- ADO
- CSV
- Firebird
- Frontbase
- IBM DB2
- Informix
- Interbase
- LDAP
- Microsoft SQL Server
- MySQL
- Netezza
- ODBC
- ODBTP
- Oracle
- PDO
- Postgresql
- SAP ADS
- SAP ASE
- SAP Maxdb
- SAP Sqlanywhere
- Sqlite
- Sybase
- Plain Text
- Visual Foxpro

##### Other

- Feature Comparison Matrix
- Connection Matrix
- Include File Guide

v5:dictionary:metatransaction

# metaTransaction

##### See Also

setTransactionMode()

##### Syntax

    string metaTransaction(
      string $transactionLevel,
      string $dataProvider
      )

## Description

The method `metaTransaction()` returns a database specific isolation level statement for a supplied database and meta transaction level.

## Parameters

### $transactionLevel

There are 4 available options for this parameter:

- READ UNCOMMITTED
- READ COMMITTED
- REPEATABLE READ
- SERIALIZABLE

### $dataProvider

A string representing an ADOdb data provider, not necessarily the currently connected database.

## Usage

    /*
     * No valid connection is necessary
     */
    $t = $db->metaTransaction('serializable','oci8');
    print $t;
    /*
     * prints ISOLATION LEVEL SERIALIZABLE
    */

## Resources

Microsoft SQL Server MySQL Postgresql Oracle

v5/dictionary/metatransaction.txt · Last modified: 2016/01/19 09:51 by 66.249.64.98

### Page Tools

- Show pagesource
- Old revisions
- Backlinks
- Rename Page
- Back to top