SQL-J Language Reference,
Page 52 of 118


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

SET TRANSACTION ISOLATION LEVEL statement

The SET TRANSACTION ISOLATION LEVEL statement allows a user to change the isolation level for the user’s connection. Valid levels are SERIALIZABLE and READ COMMITTED.

Issuing this command commits the current transaction, which is consistent with the java.sql.Connection.setTransactionLevel method. To change the isolation without committing the current transaction, see “AT ISOLATION clause”.

For information about isolation levels, see “Locking, Concurrency, and Isolation” in the Cloudscape Developer’s Guide.

Syntax

SET TRANSACTION ISOLATION LEVEL
{
    READ COMMITTED |
    SERIALIZABLE
}

Example

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.