I am using appengine with Objectify to access my datasource. I use Spring for my business layer. In order to play with data I use the objectify-appengine-spring factory.
I would like to use annotation based local transactions. Do you know about an existing implementation which I could plug directly as a spring bean?
I’d really like to avoid the pain of implementing my own transaction provider with thread locals.
Check LushLife’s
ObjectifyTransactionManagerhere or here.Spring XML config needed (you can find it here or here):
Don’t forget to annotate your transactional methods or classes with @Transactional.
Special thanks to author of this project.