持久性对象应该总是保留在操作它们的业务对象的本地。
Persistent objects should ALWAYS remain local to the business object that operates on them.
持久性类封装对持久性存储的访问,包括关系数据库、平面文件和对象库。
Persistence classes encapsulate access to your persistent stores, including relational databases, flat files, and object bases.
应用程序的主要层是数据库、持久性框架、数据库访问对象和用户界面(UI)控制器及视图层。
The main layers of the application are a database, a persistence framework, a database access object, and user interface (UI) controller and view layers.
相反,它只需要程序员将属性标记为持久性的,并识别出能代表对象唯一标识符(或者主键)的属性。
Instead, it requires the developer only to denote the attributes to be persisted and to identify the attribute to represent the object's unique identifier (or primary key).
EMF提供了持久性、一个有效的反射类属对象操纵api和一个变更通知框架。
EMF provides persistence, a very efficient reflective generic object manipulation API, and a change-notification 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.
例如,与持久性有关的方面可能需要访问对象的初始化连接点。
For example, an aspect related to persistence might need access to an object's initialization join points.
例如,只用pickle不能解决命名和查找pickle文件这样的问题,另外,它也不能支持并发地访问持久性对象。
For example, pickling alone doesn't solve the problem of naming and locating the pickle files, nor does it support concurrent access to persistent objects.
EcoSpace还包含了将对象存储到DB 2数据库中的持久性映射程序。
The EcoSpace also contains the persistence mapper that stores the objects away to a DB2 database.
注意,这一开发场景需要使用Hibernate将已有持久性数据表示成基于对象的视图。
Note that this development scenario involves using Hibernate to present an object-based view of existing persistent data.
EcoSpace能包含将对象写入DB 2数据库的“持久性处理程序”。
The EcoSpace can contain 'persistence handlers' that can write the objects away to a DB2 database.
使用JPA的数据访问对象(DAO)与persistence . xml打包在一起,后者为应用程序使用的JPAEntityManager定义持久性上下文。
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.
SimpleJPA是一个这类的示例:它是一个持久性库,允许jpa注释对象几乎与Amazon的SimpleDB无缝集成。
SimpleJPA is one example in this category: a persistence library that lets JPA annotated objects work almost seamlessly with Amazon's SimpleDB.
例如,图2显示的workflow类需要通过持久性机制创建customer对象。
For example, Figure 2 shows a Workflow class that needed to create customer objects by means of a persistence mechanism.
Bean管理的持久性将所有的工作交给EJB开发人员,让他们确定如何存储和检索特定的对象类型。
Bean-managed persistence leaves all the work to the EJB developer to figure out how to store and retrieve a specific object type.
Python的pickle为python对象有效的持久性管理提供了健壮的和可靠的基础。
Python pickles provide a robust and reliable foundation for effective persistence management of Python objects.
GSD提供了写后读的持久性,这意味着一个对象在上传后就可以访问了:列表、下载或是删除。
GSD provides read-after-write consistency which basically means that an object can be accessed - listed, downloaded, or deleted – right after uploading.
它仍然涉及对象创建、对象之间的消息和新状态的持久性。
It still involves the object creation, the messages between objects and the persistence of the new state.
许多持久性机制以关系的方法而不是面向对象方法存储数据。
Many persistence mechanisms store data in a relational way rather than an object-oriented way.
从这里开始可以看到JDO如何允许您以面向对象的方式来处理持久性。
This is where you can start to see how JDO allows you to handle persistence in an object-oriented fashion.
对象持久性依赖于底层编程语言的对象序列化能力。
Object persistence depends on the object serialization capabilities of the underlying programming language.
类似的异议也出现在面向对象应用程序开发使用的两个持久性策略之间。
A similar disagreement is developing between supporters of the two persistence strategies for object-oriented application development.
OO中另一个有趣的主题就是对象持久性。
如果您在持久性对象和操作它们的业务对象之间引入了一层Web服务,那么您就丧失了这种能力。
If you introduce a layer of Web Services between the persistent objects and the business objects operating on them, then you lose that ability.
对象序列化是实现存储库持久性的一种最简单的方式,原因是datamaprepository类、所包含的数据地图以及它们的元素都是可序列化的。
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.
例如,如果未设置DataSource对象的mapping属性,则数据源的行为方式不会与容器管理的持久性(CMP)中的数据源相同。
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).
我还使用该库的定制查询语言和HSQLDB数据库演示了一个简单的对象持久性场景,也探讨了该库的一些高级功能。
I've demonstrated a simple object-persistence scenario using the library's custom query language and the HSQLDB database and also discussed some of the library's advanced features.
cs源文件有自己的图形编辑器,可用于设置从对象到数据库的持久性映射。
The EcoSpace.cs source file has its own graphical editor that can be used to set up the persistence mapping for the objects to the database.
第一个类使用容器管理持久性(Container - Managed Persistence,CMP)来提供对简单数据库表phonebookentrybean的基于对象的访问。
The first one, which USES Container-Managed Persistence (CMP) to provide object-based access to a simple database table, is called PhoneBookEntryBean.
我们使用了亚马逊s3储存,它能够提供99.999999999%的持久性,并且可以在全球大规模传递数万亿对象。
We use the Amazon S3 store, it can provide 99.999999999% persistent, and can transfer objects in the global large-scale trillions.
应用推荐