Listing 4. Persistence unit XML entry within web.xml.
清单4. web .xml中的持久性单元xml项。
The threads are maintained in a cached pool of threads per persistence unit.
这些线程根据每个持久性单元保存在线程的缓存池内。
In primary mode, JESTServlet itself instantiates a persistence unit, EntityManagerFactory.
在主模式中,JESTServlet本身会实例化一个持久化单元:entitymanagerfactory。
The output of the command is a file consisting of persistence unit name followed by a suffix of .pdqxml.
该命令的输出是一个文件,其名称由持久性单元名称后面跟着后缀 .pdqxml 组成。
In these projects, the JPA entities have already been copied into a separate JPA project and persistence unit.
在这些项目之中,JPA实体已经被复制到单独的JPA项目和永久性单元之中。
This lookup is unambiguous because OSGi applications are isolated and Blether defines only a single persistence unit.
该查询不含糊,因为OSGi应用程序是孤立的且Blether仅定义单一持久性单元。
In auxiliary deployment mode, JESTServlet needs to know the name of the persistence unit used by the sibling component.
在副部署模式中,JESTServlet需要知道同级组件所使用的持久化单元的名称。
This notion of run-time scope as a strict set of mutually referable classes is captured in JPA 1.0 as a persistence unit.
现在将一组严格的可相互引用的类称为运行时作用域,而在JPA 1.0 中称为 持久化单元。
The persistence.xml file denotes a particular JPA provider for the persistence unit along with provider specific properties.
xml文件则表示一个特殊的JPA提供器,它针对具有提供器的特定属性的持久化单元。
In a scenario with multiple persistence units, the selection can be constrained by persistence unit name using an LDAP style filter.
在一个拥有多个持久性单元的场景中,可使用一个ldap样式过滤器根据持久性单元限制选择。
The scope of a persistence unit in terms of its persistent entities is enumerated in the clause of a META-INF/persistence.xml file.
持久化单元作用域的持久化实体在META-INF/persistence.xml文件的子句中枚举。
The persistence.xml is the descriptor that defines the persistence unit which contains the needed configuration for the JPA entities and the database.
xml是定义持久性单元的描述符,其中包含J PA实体和数据库所需的配置。
Instead, the JPA runtime publishes the persistence unit (that is, the EntityManagerFactory) using the primary OSGi integration mechanism, the OSGi service registry.
相反地,JPA运行时使用主要OSGi集成机制、OSGi服务注册表发布持久性单元(即entitymanagerfactory)。
This single, interactive web page makes all available JEST resources accessible to the user: the persistent domain model, the persistent entities, and configuration of the persistence unit.
这个交互式网页可以向用户提供所有可用的JEST资源:持久化域模型、持久化实体和持久化单元配置。
A JDO transaction instance is the vehicle for carrying out a unit of work, according to the conventional definition of a transaction, against a persistence storage system (or database).
依据对交易的传统定义,一个JDO交易示例就是执行单元操作的载体,执行的基础是持久性存储系统(或者数据库)。
Then we precisely defined a logical unit as a physical persistence mechanism for units of logical model content.
然后我们定义了建模文件,并且将逻辑单元精确定义为对逻辑模型内容的单元进行物理存储的机制。
It leverages the Blueprint container's ability to manage both persistence contexts and global transactions to ensure the business logic remains as simple as possible to develop and unit test.
它利用Blueprint容器的功能来管理持久性上下文和全局事务,以确保业务逻辑的开发和单元测试尽可能保持简单。
At this stage, you can also optionally remove the persistence-unit-ref elements in the web.xml because they no longer serve any purpose.
在该阶段,您还可以选择删除web . xml中的persistence - unit - ref元素,因为它们不再用作任何用途。
The Spring context in the Blether WAR looks up the EntityManagerFactory that it USES from the web module's local JNDI, where it is mapped by a persistence-unit-ref in the module's web.xml file.
Blether WAR中的Spring上下文通过web模块的本地JNDI查询它使用的EntityManagerFactory,其中它由模块的web . xml文件中的一个persistence - unit - ref所映射。
The Spring context in the Blether WAR looks up the EntityManagerFactory that it USES from the web module's local JNDI, where it is mapped by a persistence-unit-ref in the module's web.xml file.
Blether WAR中的Spring上下文通过web模块的本地JNDI查询它使用的EntityManagerFactory,其中它由模块的web . xml文件中的一个persistence - unit - ref所映射。
应用推荐