Setting Isolation Levels
You can use the isolation() method of RWDBConnection to set the isolation level of the connection. Table 224 shows the mapping between the argument you pass for IsolationType, and the isolation level set by the MySQL statement SET SESSION TRANSACTION ISOLATION LEVEL.
|
RWDBConnection:: IsolationType |
MySQL Isolation Level |
|
Unknown |
|
|
ANSILevel1 |
|
|
ANSILevel2 |
|
|
ANSILevel3 |
|
To determine the current isolation level, call RWDBConnection::isolation() without an argument.