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

Add a way to get a read only connection #2

Closed
davecramer opened this issue Jul 6, 2018 · 1 comment
Closed

Add a way to get a read only connection #2

davecramer opened this issue Jul 6, 2018 · 1 comment
Assignees
Labels
type: enhancement A general enhancement

Comments

@davecramer
Copy link

public interface ConnectionFactory {

Setting mutability on an existing connection is way too late IMO to get a read only connection. This brings up another point which is how to provide multiple connections. PostgreSQL JDBC has a notion of providing multiple hosts/ ports in the URL but no notion of which ones are read only. This might be better handled with a custom connection factory, but I still think setting mutability on the transaction is too late.

@nebhale nebhale self-assigned this Aug 13, 2018
@nebhale nebhale added the type: enhancement A general enhancement label Aug 13, 2018
@gregturn
Copy link
Contributor

gregturn commented Oct 9, 2018

Closed based on #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants