Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.11
-
None
Description
It would be nice to have an annotation, @CommitAfter, that could be placed on a service interface method.
A decorator could recognize methods with such annotations, and use the HibernateSessionManager to commit the transaction after invoking the method.
Currently, you must inject the HSM directly and invoke commit() on it.