Each bean has the entity manager injected into it.
每个bean都要把实体管理器注入到其中。
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.
它直接影响实体管理器填充域对象的方式。
The entity and entity manager bean packages have been added as export-packages.
实体和实体管理豆包已经作为导出包添加了。
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.
无论是否在实体管理器中,它们都应该准备好在任何层中调用。
Through the use of a special object called the entity manager, applications can query or persist objects.
通过使用称为实体管理器的特殊对象,应用程序可以查询或保持对象。
However, JPA defines the notion of container-managed entity manager versus application-managed entity manager.
然而,jpa定义了容器管理的实体管理器与应用程序管理的实体管理器的概念。
Through the use of a special object called the entity manager, applications can query for, or persist, objects.
通过使用称为实体管理器的特殊对象,应用程序可以查询或保持对象。
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.
如果要把文档从一台计算机转移到另一台计算机,可以修改实体管理器而不必动文档。
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号码进行排序。
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) 对象区分开。
From study the hierarchical model of network management center, analyze the distribution (just is network entity) and collection point (from the network entity manager).
通过研究网管系统分层模型,分析出性能数据的分布点(网元)与采集接入点(网元管理中心)。
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方法。
In the general case, the behavior of an object depends on its persistent state. For example, suppose the following line of code executes within the realm of entity manager.
一般情况下,对象的行为取决于其持久性状态。
Another restriction arises from the fact that the domain objects can be accessed both in the tier where they are managed by the entity manager and in all the other tiers where they are detached.
另一种限制源自于这样一个事实:域对象可以通过由实体管理器所管理的域对象所在的层访问,也可以通过分离它的所有其他层访问。
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中的实体需要进行数据交换,若它们属于不同的节点机(实体管理器),就会占用网络资源。
In each case where a queue manager type is referenced, you must configure SSL in the corresponding WMQFTE properties file to enable that type of WMQFTE entity to connect to its queue manager.
每当引用一个队列管理器类型时,您必须在对应的WMQFTE属性文件中配置ssl,以便相关类型的WMQFTE实体能够连接到它的队列管理器。
The JPA tools were used to create an entity and Manager bean to access the sample Derby database.
该J PA工具用于创建一个实体,以及访问示例Derby数据库的Managerbean。
The JPA entity and manager bean have now been created.
现在JPA实体与管理bean已经被创建出来。
They fill the role that would normally be filled by a session bean in an EJB environment; all of the business logic related to an entity is performed by the JPA Manager bean.
它们填充了正常条件下是由ejb环境下sessionbean填充的角色。所有与实体相关的业务逻辑,是由JPA Manager bean运行的。
You will begin building your application by creating entity objects and their corresponding JPA manager beans.
通过创建实体对象以及它们相应的JPAmanagerbeans,您将开始构建您的应用程序。
应用推荐