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
.Modifier and Type | Method and Description |
---|---|
T |
execute(javax.persistence.EntityManager entityManager) |
T execute(javax.persistence.EntityManager entityManager)
Apache Camel