JPA笔记

关于Container-Managed Entity Managers
手册中写到
With a container-managed entity manager, an EntityManager instance’s persistence context is automatically propagated by the container to all application components that use the EntityManager instance within a single Java Transaction Architecture (JTA) transaction.

句子太长了,翻译下

使用container-managed entity manager时候,
在单个JTA事务中,某个entity manager实例的持久化上下文将由container 自动传播到所有使用该entity manager的应用中

你可能感兴趣的:(jpa)