摘要
Object Relationship Mapping(简称ORMapping)是将数据库表映射为面向对象系统中的类,表中的每一条记录则对应为该类的一个具体对象的技术。通过这种技术,可以在软件开发的过程中采用面向对象的方式来处理与数据库相关的部分,比如记录的增加、修改、删除等。讨论了实现ORMapping的几个关键性技术要点,数据库表字段映射对象属性,数据库操作映射面向对象操作,数据库主键外键关联映射对象之间的关系,映射对象如何来适应表结构的变化,事务管理。讨论了ORMapping的性能问题。
Object relationship mapping, ORMapping for short, is a technology that mapping relational database tables to object-oriented classes and maps each row in the table to a instance of the class. Using this technology, software with object-oriented method can be develop to handle database operations, such as insert, update and delete. Several key points of implementing ORMapping and ORMapping's performance are discussed.
出处
《计算机工程与设计》
CSCD
2004年第11期1994-1995,1998,共3页
Computer Engineering and Design