| An "Alteration Wrapper" appropriate for a straightforward use of Hibernate.
This will open and rollback a transaction around every request cycle, except
an action cycle which reports the END_FLOW propagation status (all non-flow
cycles will report this). Cooperates with HibernateEntityBeanLocators to
ensure new entities are correctly saved, etc. This implementation could be
replaced for more advanced usages, for example use of a Hibernate
"application" (or "long") transaction strategy.
author: Antranig Basman (amb26@ponder.org.uk) |