Sets the isolation level of the changes made by the programs.
|Read Committed ||In this isolation level, the programs do NOT see the changes made by other users until they perform a COMMIT. This is the default value. |
|Repeatable Read ||In this isolation level, the programs do NOT read Updates made by other users, to all the referenced records, until they make a COMMIT.|
|Serializable ||In this isolation level, the programs do NOT read Updates, Inserts, or Deletes made by other users, to all the referenced records, until they make a COMMIT.|
|Read Uncommitted ||In this isolation level, the programs see the changes made by other users even if they haven't performed a COMMIT yet.|
Available at the Data Store.
Data Store: Iseries, DB2 UDB, INFORMIX, MYSQL, ORACLE, POSTGRESQL, SQLSERVER
Generators: .NET, Java
Setting Isolation level affects read phenomena and concurrency control. Using Read Committed provides higher consistency levels but generates more locks on the database. There is more information about Isolation Level at https://en.wikipedia.org/wiki/Isolation_(database_systems) and the documentation of different DBMSes.
- The property is read-only for Oracle and its value is Read Committed (Oracle Database doesn't use dirty reads, nor does it even allow them)
- The isolation level used for SQLite (Android and iOS programs) is Read Committed.
This property applies only at design-time.
Consider a Transaction with attributes A, B on which the following Procedure are defined:
//Enter new values for the attributes and then commit the changes.
//Enter other new values, but this time do not confirm them.
//Prints a message on the screen with the values of B.
msg(B.ToString()) //In any isolation level 1 and 2 are displayed.
//After running Procedure2, it stores the message with the values of B in an internal
//variable and continues processing (the user will not see the message until the end of the program processing).
//It then saves the changes made so far.
msg(B.ToString(), nowait) //In Read Uncommited and Read Commited 11, 2, and 3 are displayed.
//In Repeatable Read and Serializable 1, 2.
//Saves the message with the values of B in an internal variable and continues processing.
msg(B.ToString(), nowait) //In any isolation level except Serializable it shows 11, 2 and 3.
//In Serializable it shows 1, 2, because it could not do the update or new in Procedure2,
//it has changes that have not been committed.
Procedure2 has set Execute in new LUW.
//Prints on the screen the values of B.
msg(B.ToString()) //In Read Uncommited 1 and 2 are shown, in the others only 1.
//Updates the value of B, as long as A is worth 1.
where A = 1
//Add new values to A and B.
A = 3
B = 3
To apply the corresponding changes when the property value is configured, execute a Rebuild All.
SAC 43993 - Isolation Level Property Support contains details related to configuration files, conversion and other related information.