JPA: Model-View-Controller for object persistence.
JPA:支持对象持久化的“模型-视图-控制器”。
Another interesting subject in OO is object persistence.
OO中另一个有趣的主题就是对象持久性。
Figure 2 shows JPA's MVC architecture for object persistence.
图2所示是JPA的对象持久化MVC架构。
JDO supplies object persistence with the first standard and object-oriented way.
JDO为对象持久性提供了第一个标准化的、完全面向对象的方法。
J2EE tries to make object persistence as simple, transparent, and automatic as possible.
J2EE试图让对象持久性尽可能地简单、透明和自动。
Object persistence depends on the object serialization capabilities of the underlying programming language.
对象持久性依赖于底层编程语言的对象序列化能力。
So there is no such thing as transparent marshalling, in the same way as there is no transparent object persistence.
因此没有透明封送这回事,就像没有透明的对象持久化一样。
To provide object persistence, we extended the object model to permit the definition of persistence attributes for objects.
为了提供对象持久化,我们扩展了对象模型,允许为对象定义持久化属性。
The persistence framework solves the problem of object persistence in relational databases. Object relational mapping is the core of persistence framework.
持久化框架较好地解决了关系型数据库的对象持久化问题,对象关系映射是持久化框架的核心内容。
Object serialization has its well-known flaws, but in this case, it is a reasonable persistence solution because the number of form data instances that are kept in the repository is limited.
对象序列化有很多明显的缺陷,但在这种情况下,却是一个合理的持久性解决方案,原因是保存在存储库中的表单数据实例的数量是有限的。
So we need a persistence mechanism to store the new object data.
所以我们需要一个持续机制来存储新的对象数据。
It still involves the object creation, the messages between objects and the persistence of the new state.
它仍然涉及对象创建、对象之间的消息和新状态的持久性。
Persistence classes encapsulate access to your persistent stores, including relational databases, flat files, and object bases.
持久性类封装对持久性存储的访问,包括关系数据库、平面文件和对象库。
JPA prescribes that object relationships be decorated with persistence qualities.
JPA规定对象关系是用持久化特性装饰的。
The resource manager implements the object pool and it gets the managed resource that implements persistence, security state management, and transaction.
资源管理器实现了对象池,它能够获得实现持久化、安全性状态管理和事务的托管资源模式。
The EJB server provides primary services such as object distribution, naming, security, persistence, transaction management, and concurrency.
EJB服务器提供一些基本服务,比如对象分发、命名、安全性、持久性、事务管理和并发性。
The JPA simplifies object relational mapping and data persistence.
jpa简化了对象关系性映射和数据持续性。
EMF provides persistence, a very efficient reflective generic object manipulation API, and a change-notification framework.
EMF提供了持久性、一个有效的反射类属对象操纵api和一个变更通知框架。
In our first approach to addressing persistence, we put DBMS knowledge in the object representing our business abstractions (i.e., analysis classes).
在我们解决持续性的第一个方法中,我们把DBMS的信息放在表示业务抽象(即分析类)的对象里。
When the action method is invoked, it is necessary to reattach the updated object to the persistence context, making the changes permanent.
当调用该操作方法时,必须重新使已更新的对象与持久化上下文建立联系。
The main layers of the application are a database, a persistence framework, a database access object, and user interface (UI) controller and view layers.
应用程序的主要层是数据库、持久性框架、数据库访问对象和用户界面(UI)控制器及视图层。
Uses native XML persistence to solve XML, object, and relational incompatibility.
使用本地XML持久化来解决XML,对象和关系数据库的不匹配性。
Object serialization is an easy way for implementing the repository's persistence since the DataMapRepository class, the contained data maps, and their elements are serializable.
对象序列化是实现存储库持久性的一种最简单的方式,原因是datamaprepository类、所包含的数据地图以及它们的元素都是可序列化的。
For example, if the mapping attribute of the DataSource object is not set, the data source might not act as the data source in the container-managed persistence (CMP).
例如,如果未设置DataSource对象的mapping属性,则数据源的行为方式不会与容器管理的持久性(CMP)中的数据源相同。
Service component Architecture is widely used to build SOA systems, and the persistence of message (business object) exchanges between components can result in problems.
ServiceComponentArchitecture广泛应用于构建SOA系统,并且组件之间的持续信息(业务对象)交换可能会导致出现问题。
The code in Listing 4 illustrates the journey from PurchaseOrder object instantiation and setup all the way through to persistence of this object in the database.
清单4中的代码展示了从PurchaseOrder对象的实例化和设置一直到此对象在数据库中的持久化这个完整的过程。
Programming persistence in Web flows without the flow-scoped persistence context object is still feasible but incurs many hurdles and pitfalls.
不使用流作用域持久化上下文对象的web流中的持久化编程也是可行的,只是有很多障碍和缺陷。
The first one, which USES Container-Managed Persistence (CMP) to provide object-based access to a simple database table, is called PhoneBookEntryBean.
第一个类使用容器管理持久性(Container - Managed Persistence,CMP)来提供对简单数据库表phonebookentrybean的基于对象的访问。
Stateless: Your classes must extend LightEntity or implement ILightEntity which enables the persistence information to be stored on the cloned object (no information is left on the server).
无状态:对象类型必须继承自lightentity,或者实现ILightEntity接口,这样持久化信息才会被保存在克隆出来的对象上面(服务器上不保留相关信息)。
Stateless: Your classes must extend LightEntity or implement ILightEntity which enables the persistence information to be stored on the cloned object (no information is left on the server).
无状态:对象类型必须继承自lightentity,或者实现ILightEntity接口,这样持久化信息才会被保存在克隆出来的对象上面(服务器上不保留相关信息)。
应用推荐