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.
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Summary||Add simple transaction manager decorator service||Provide an annotation to support automatic committing of the transaction after a component or service method invocation|
|Fix Version/s||5.0.12 [ 12313048 ]|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Fix Version/s||5.1 [ 12312964 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12426414 ]||Default workflow, editable Closed status [ 12568710 ]|
|Workflow||Default workflow, editable Closed status [ 12568710 ]||jira [ 12591736 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|33d 15h 15m||1||Howard M. Lewis Ship||16/Apr/08 16:15|
|5h 5m||1||Howard M. Lewis Ship||16/Apr/08 21:21|