Mapping objects and properties to elements and attributes
将对象和特性映射成元素和属性
Why a paper about mapping objects to relational databases?
为什么要写有关对象-关系数据库之间的映射的文章呢?
The solution is to use an ORM framework such as Hibernate, which performs much of the work in mapping objects to records within database tables and back again.
解决方案就是使用一个ORM框架,比如Hibernate,它在对象与数据库表记录之间的来回映射中执行大量工作。
With the Mapper classes and mapping files, emphasis is put on mapping objects to existing data structures, rather than conforming a data structure to the object structure.
有了mapper类以及映射文件,重点就变成了将对象映射到现有的数据结构,而不是使一个数据结构遵从这个对象的结构。
One of the secrets of success for mapping objects to relational databases is to understand both paradigms and their differences, and then make intelligent trade-offs based on that knowledge.
使对象-关系数据库之间的映射成功的一个秘诀就是理解这两种范例和它们的差异,然后基于这些认识来进行明智的取舍。
This paper should alleviate several common misconceptions prevalent in development circles today, presenting a practical look at the issues involved with mapping objects to relational databases.
本文应该能够消除现今开发周期中一些普遍共有的误解,对对象-关系数据库之间映射所涉及到的一些问题提供了切合实际的看法。
Although inheritance mapping is part of domain objects, we treat it separately due to its importance.
尽管继承映射是领域对象的一部分,出于它的重要性我们将它单独出来。
Messages can be routed using collaboration object subscriptions to events on business objects, collaboration logic, and mapping logic.
消息可以使用协作对象订阅路由到业务对象、协作逻辑和映射逻辑中的事件。
Mapping the various types of references to the global JNDI names of the target objects is a common porting task.
将各种类型的引用映射到目标对象的全局JNDI名称是一项常见的迁移任务。
Next, you need to define how the actions are constructed from intermediate objects and the mapping from the intermediate object fields to the action fields.
下一步,您需要定义如何在中间对象的基础上构造操作,以及定义从中间对象字段到操作字段的映射。
Define the mapping between action fields and intermediate objects.
定义操作字段与中间对象之间的映射。
The business object mapping editor opens with the two business objects.
业务对象映射编辑器将打开,并带有两个业务对象。
You can write separate code that loads the relevant EMF resources and invokes the mapping engine on the model objects, but in this example everything is done for you in a transparent way.
你可以分开编写加载相关的EMF资源和对模型对象调用映射引擎的代码,但是在这个例子中所有任务的完成都是透明的。
As we noted earlier, the map parameter mapping type requires you to specify a business object map that handles the mapping between the attributes of two business objects.
正如我们在前面指出的,映射参数映射类型要求您指定业务对象映射,此映射处理两个业务对象的属性之间的映射。
Mapping has been improved to support very large business objects.
映射已经过了改进,以支持超大型业务对象。
The object relational mapping technology lets you map relational databases to objects.
对象—关系映射技术允许您将关系数据库映射为对象。
The vendor product is quite flexible and provides a mapping mechanism, via XML, that permits custom client objects to be mapped to the vendor's specific channel implementations.
该产品非常灵活,并且通过XML提供了一个映射机制,允许将自定义客户端对象映射到与厂商的特定渠道实现。
Note that creating this type of automated mapping process may only make sense if there are many objects in the model that need to be mapped or if it's difficult to manually identify them.
注意,只要在模型中存在大量需要进行映射的对象或难以手动识别映射的情况下,创建这种类型的自动化映射流程才是有意义的。
In such a design, updates are applied to objects and it is the responsibility of the mapping layer to migrate those changes to a relational database.
在这样的设计中,更新被应用到了对象上,映射层的职责就是将这种变化反映到关系数据库中。
Further, if your code USES objects, there's a tax-incurred mapping flat rows to objects.
此外,如果代码使用对象,则有指向对象的导致负担过重的映射平面行。
For mapping between business objects, you need a submap, as we will describe shortly.
对于业务对象之间的映射,您需要一个子映射,很快我们就会讲到这一点。
If the object model for your application doesn't translate easily into the relational model, you'll have quite a challenge mapping your objects to tuples and back again.
如果应用程序的对象模型不能够方便地转换到关系模型,那么在将对象映射到元组以及将元组映射回对象方面,会碰到一定难度。
They plan to create new kinds of unit cells and are also seeking new mapping techniques that allow those cells to be positioned over complex objects.
他们计划创造新型单位晶格并寻求新的能使这些晶格可以定位在复杂物体上的映射技术。
Look at the simplest SQL data binding task: mapping an object that doesn't refer to any other objects to a single table.
最简单的SQL数据绑定任务:把没有引用其他任何对象的对象映射到一个表。
Once the mapping is done, you can manipulate mapped objects as normal objects and easily submit changes back to relational database without writing complex data access logic.
一旦完成映射,您就可以将他们当成普通对象来处理,无需编写复杂的数据访问逻辑就可以轻松地将更改提交回数据库。
Using string types enables you to reuse the relationship in any mapping between business objects that need a state name to state code mapping between string-typed properties.
通过字符串类型,如果业务对象之间需要字符串类型的属性之间的州名称到州代码的映射,则可以在这些业务对象之间的任意映射中重用此关系。
The approach we take here removes the need for the whole first aspect because, instead of mapping the XML into native objects, we have made the XML a native object that can be used as is.
我们这里所采用的方法将去除了在第一个方面的需要,因为这时我们已经将XML作为一个直接使用的本机对象,而不用再次的映射操作。
BOM to XOM mapping is used to implement the synthetic objects.
bom到xom的映射用于实现合成对象。
Step 7: Define mapping from intermediate objects to actions.
步骤7:定义从中间对象到操作的映射。
NHibernate USES mapping files to guide its translation from the database to business objects and back again.
NHibernate使用映射文件来引导从数据库数据到业务对象的转换。
应用推荐