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

Introduce TransactionOperations.execute(Runnable) convenience method #23250

Closed
jhoeller opened this issue Jul 8, 2019 · 0 comments
Closed

Introduce TransactionOperations.execute(Runnable) convenience method #23250

jhoeller opened this issue Jul 8, 2019 · 0 comments
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@jhoeller
Copy link
Contributor

jhoeller commented Jul 8, 2019

Following up on #23198, TransactionOperations and TransactionTemplate would benefit from a dedicated void execute(Runnable) method which is conveniently usable with lambda expressions, not enforcing a potentially unused TransactionStatus and not having to return a null dummy.

@jhoeller jhoeller added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement labels Jul 8, 2019
@jhoeller jhoeller added this to the 5.2 RC1 milestone Jul 8, 2019
@jhoeller jhoeller self-assigned this Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant