Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdbc: Support read only connection #176

Open
nicktorwald opened this issue May 6, 2019 · 1 comment
Open

jdbc: Support read only connection #176

nicktorwald opened this issue May 6, 2019 · 1 comment
Labels
blocked Not ready to be implemented jdbc

Comments

@nicktorwald
Copy link

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.

@nicktorwald nicktorwald added this to the JDBC with transactions milestone May 6, 2019
@Totktonada
Copy link
Member

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

@Totktonada Totktonada added the blocked Not ready to be implemented label May 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Not ready to be implemented jdbc
Projects
None yet
Development

No branches or pull requests

2 participants