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

Kotlin transaction function/wrapper [SPR-16664] #21205

Closed
spring-projects-issues opened this issue Mar 29, 2018 · 4 comments
Closed

Kotlin transaction function/wrapper [SPR-16664] #21205

spring-projects-issues opened this issue Mar 29, 2018 · 4 comments
Labels
in: data status: superseded type: enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Mar 29, 2018

Alex Rader opened SPR-16664 and commented

Please add a transaction function/wrapper, something like
https://github.com/ewolff/scala-spring/blob/master/src/main/scala/de/adesso/scalaspring/tx/TransactionManagement.scala

It will be more consistent in Kotlin.

transactional {
// do stuff in transaction
}

No further details from SPR-16664

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 3, 2018

Sébastien Deleuze commented

Could you detail what are your needs behind this request? Is it mainly a matter of programming style (annotation versus functional)? A way to do define more fine grained transactions?

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 6, 2018

Alex Rader commented

Yes it is more a matter of programming style, and we can make a transaction inside a function, so no need to create a separate method and annotate it with @Transactional

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Dec 24, 2018

Sébastien Deleuze commented

I am going to experiment on that on Spring Fu side for now.

@spring-projects-issues spring-projects-issues added status: waiting-for-triage in: data type: enhancement and removed type: enhancement labels Jan 11, 2019
@bclozel
Copy link
Member

@bclozel bclozel commented Feb 18, 2022

Superseded by #22915

@bclozel bclozel closed this as completed Feb 18, 2022
@bclozel bclozel added status: superseded type: enhancement and removed status: waiting-for-triage labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data status: superseded type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants