entitymanager信息详情

entitymanager发音

意思翻译

实体

相似词语短语

jural entity───法律实体

entity framework───实体框架

entity───n.实体;存在

bourne identity───伯恩身份

identity v───身份v

personal identity───个人统合,[劳经]个人身份;人格同一性

mistaken identity───认错人

nonentity defined───非实体定义

distinct identity───独特的身份;特色

distortive identity disorder───扭曲性身份障碍

双语使用场景

Create the grid and perform data access using the EntityManager API.───创建网格并使用EntityManager API执行数据访问。

Start the transaction scope within the EntityManager.───在EntityManager中启动事务范围。

The EntityManager contains the necessary methods for accessing data.───EntityManager 包含访问数据的必要方法。

Within the persistence context, the entity's association with the underlying persistence store is managed by the entity manager (EM).───在持久性上下文中,实体与基础持久性存储区的关联由实体管理器(entitymanager,EM)管理。

This query can be passed into the Entity Manager to retrieve a list of all Department entities, ordered by their department number.───此次查询可以传递给EntityManager,以检索所有Department实体的列表,该列表通过它们的department号码进行排序。

To obtain an EntityManager instance, we simply inject the entity manager into the application component shown in Listing 7.───要获取EntityManager实例,只需将实体管理器注入应用程序组件即可,参见清单7。

This approach is not recommended for a non-EJB 3 environment, because any EntityManagers created might not be properly managed.───建议不要将此方法用于非EJB3环境,因为可能无法正确管理所创建的任何EntityManager。

EntityManager also acts as a factory to create executable javax. persistence. Query instances from a JPQL query string.───EntityManager也是从一个JPQL查询字符串创建可执行javax.persistence.Query实例的工厂。

Create data classes and a utility class for getting an EntityManager instance.───创建数据类和一个实用类来获取EntityManager实例。

英语使用场景

A data access object (DAO) that uses JPA is packaged with a persistence.xml that defines persistence context for the JPA EntityManager used by the application.