Enum IsolationLevel (3.9.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Defines the isolation level for a transaction.
This determines how concurrent transactions interact with each other and what consistency guarantees are provided for read and write operations.
See the
v1::TransactionOptions proto for more details.
See Also
https://docs.cloud.google.com/spanner/docs/isolation-levels
Constants
|
| Name |
Description |
kUnspecified |
The isolation level is not specified, using the backend default.
|
kSerializable |
All transactions appear as if they executed in a serial order.
|
kRepeatableRead |
All reads performed during the transaction observe a consistent snapshot of the database.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-07 UTC.
[null,null,["Last updated 2026-08-07 UTC."],[],[]]