Skip to content

Keep bookmark returned after auto-commit tx #407

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

Merged
merged 2 commits into from
Sep 6, 2018

Conversation

lutovich
Copy link
Contributor

@lutovich lutovich commented Sep 5, 2018

Auto-commit transactions return bookmarks in Bolt V3. They were previously unused. This PR makes driver extract such bookmarks and expose them via Session#lastBookmark(). It then possible for explicit and auto-commit transactions within the same session to be chained with bookmarks.

@lutovich lutovich requested a review from zhenlineo September 5, 2018 16:26
Auto-commit transactions return bookmarks in Bolt V3. They were
previously unused. This PR makes driver extract such bookmarks and
expose them via Session#lastBookmark(). It then possible for explicit
and auto-commit transactions within the same session to be chained
with bookmarks.
Which assumed that auto-commit transactions do not produce bookmarks.
@lutovich lutovich force-pushed the 1.7-bookmark-after-auto-commit-tx branch from 5b75595 to 2600668 Compare September 6, 2018 12:11
@zhenlineo zhenlineo merged commit c7c7123 into neo4j:1.7 Sep 6, 2018
@lutovich lutovich deleted the 1.7-bookmark-after-auto-commit-tx branch September 6, 2018 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants