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类以及映射文件,重点就变成了将对象映射到现有的数据结构,而不是使一个数据结构遵从这个对象的结构。
应用推荐