Enum BackendConnection.ConnectionState (0.25.0)

publicenumBackendConnection.ConnectionStateextendsEnum<BackendConnection.ConnectionState>

Connection state indicates whether the backend connection is idle, in a transaction or in an aborted transaction.

Static Fields

Name Description
ABORTED

The current transaction is aborted. All statements are refused until rollback.

IDLE

Connection is idle, no transaction is active.

TRANSACTION

An implicit or explicit transaction is active.

Static Methods

Name Description
valueOf(String name)
values()

Methods

Name Description
getReadyResponseStatus()

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 2025年10月30日 UTC.