T
- public interface EntityManagerCallback<T>
EntityManager
instance. Intended to be executed as a part of the template method
defined by the EntityManagerTemplate.execute(EntityManagerCallback)
.
EntityManager
should not be closed by the callback, as doing this is the responsibility of the
EntityManagerTemplate
.T execute(javax.persistence.EntityManager entityManager)
Apache Camel