public class EntityManagerHolder
extends Object
Proxy that returns an EntityManager instance. If there is an entityManager
already started, it will return it. If no entityManager is found in the
context, it will create a new one and close it at the end of the execution of
the method.
- Version:
- $Revision$
- Author:
- Benoit de Chateauvieux