This is known as a container managed entity manager.
这就是所谓的容器管理的实体管理器。
This means we cannot inject the entity manager into calling code.
这意味着我们无法将该实体管理器注入调用代码。
Applications can retrieve objects or pass them into the entity manager.
应用程序可以检索对象或者将它们传递到实体管理器。
A low-level entity manager links the abstract view to the actual document.
底层的实体管理器将这个抽象视图联系到实际的文档。
It directly affects the way the entity manager populates the domain objects.
它直接影响实体管理器填充域对象的方式。
When a domain object leaves the data access tier, it gets detached from the entity manager.
当域对象离开数据访问层时,它与实体管理器脱离。
However, it is important to realize that you must open and close the entity manager yourself.
然而,务必要认识到您必须自己打开和关闭该实体管理器。
They should be ready for invocation in any tier, whether within the realm of the entity manager or not.
无论是否在实体管理器中,它们都应该准备好在任何层中调用。
However, JPA defines the notion of container-managed entity manager versus application-managed entity manager.
然而,jpa定义了容器管理的实体管理器与应用程序管理的实体管理器的概念。
The Order Processor interacts with the JPA entity manager and the JPA POJOs to accomplish its persistence code.
OrderProcessor与JPA实体管理器和 JPAPOJO 交互以完成其持久性代码。
When moving a document from one computer to another, you would update the entity manager but leave the documents unchanged.
如果要把文档从一台计算机转移到另一台计算机,可以修改实体管理器而不必动文档。
Within the persistence context, the entity's association with the underlying persistence store is managed by the entity manager (EM).
在持久性上下文中,实体与基础持久性存储区的关联由实体管理器(entity manager, EM)管理。
The JPA query language contains much functionality for more complex queries. Queries can be passed in dynamically to the entity manager.
JPA查询语言包含许多用于更复杂查询的功能。
All of the use cases follow this basic flow of EJB 2.1 session bean, calling a facade POJO, which in turn interacts with the JPA entity manager.
所有的用例都遵循这个基本的EJB 2.1会话bean流,即调用一个FacadePOJO,后者又与JPA实体管理器交互。
In other words, there is no way to tell a lazy object apart from an eager one outside of the realm of the entity manager (and it really doesn't matter within).
换句话说,在实体管理器之外(在实体管理器内也没关系)无法把非活动(lazy)对象与 活动(eager) 对象区分开。
The simplest way to access persistent data is by using the find method. Here is an example of an application using the entity manager to find an object by its primary key.
最简单的访问持久性数据的方法是使用find方法。
Data exchange between entities, which lying in the same AOI region and belonging to the different node machine (entity manager), must consume network bandwidth in Distributed Virtual Environment.
分布式虚拟环境中,位于同一个AOI中的实体需要进行数据交换,若它们属于不同的节点机(实体管理器),就会占用网络资源。
This query can be passed into the Entity Manager to retrieve a list of all Department entities, ordered by their department number.
此次查询可以传递给Entity Manager,以检索所有Department实体的列表,该列表通过它们的 department号码进行排序。
This query can be passed into the Entity Manager to retrieve a list of all Department entities, ordered by their department number.
此次查询可以传递给Entity Manager,以检索所有Department实体的列表,该列表通过它们的 department号码进行排序。
应用推荐