Is it possible to programmatically manage local Hibernate transactions in the layer above your Spring-managed, declarative AOP Service objects?
For example, say you've got two Spring-managed beans A, and B both of which have declarative transactions applied to them in the Spring context. If you're in a Struts action, for example, and you want a single transaction to encompass both the calls on A and B without requiring the Struts action be managed by Spring how can you accomplish this? I.E. what transaction object do you use, how do you get a reference to it, etc.


Reply With Quote