Skip to content

Unwrap invocation target exceptions in the AutoCloseableQueryRunner. #2285

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

Closed
michael-simons opened this issue Jun 10, 2021 · 0 comments
Closed
Assignees
Labels
type: enhancement A general enhancement

Comments

@michael-simons
Copy link
Collaborator

michael-simons commented Jun 10, 2021

The above change is needed to prepare for Neo4j 4.3.1+ driver as might as well for some other - not yet seen - error scenarios.

At some point in the future, Neo4j Java Driver will change the behavior of run and consume: If something fails in a run message in the Bolt protocol, this will be thrown exactly than, not as late as in the consume or closing of the session or transaction. Our autoclosable wrapper must cater for that.

@michael-simons michael-simons self-assigned this Jun 10, 2021
@michael-simons michael-simons added this to the 6.0.10 (2020.0.10) milestone Jun 10, 2021
@michael-simons michael-simons changed the title Prepare for Neo4j 4.3.1+ driver. Unwrap invocation target exceptions in the AutoCloseableQueryRunner. Jun 10, 2021
@michael-simons michael-simons added the type: enhancement A general enhancement label Jun 10, 2021
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

1 participant