Skip to content

jdbc: Support read only connection #176

Open

Description

@nicktorwald

Implement both Connection.isReadOnly and Connection.setReadOnly methods.
We need at least Tarantool DB support for that. It seems it should be implemented as part of transaction support how it has already done in Postgres (docs).

For instance, Postgres driver executes SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY when a read-only flag is set.

Activity

  1. Totktonada commented on May 12, 2019

    @Totktonada

    It is the session parameter and I see no connection with transactions here. Anyway, we cannot implement it right now, so I filed the issue to tarantool and leave the milestone here as is for now. Let's return here when the issue in tarantool will be resolved.

    Blocked by tarantool/tarantool#4205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedNot ready to be implementedjdbc

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions