检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西南交通大学信息科学与技术学院,四川成都610031 [2]四川大学锦城学院,四川成都611731
出 处:《软件导刊》2009年第6期162-164,共3页Software Guide
摘 要:在开发J2EE应用系统中,在进行数据库操作时,使用传统的JDBC来处理数据对象之间的关联关系会非常繁琐。Hibernate通过O/R Mapping将表间关系转化为实体之间的关系,这种关系通过在映射文件中加以声明,较简单地解决了这个问题。Hibernate的关联映射包括一对一,一对多,多对多3种。对这3种关联关系进行系统的分析研究,使得读者对Hibernate的关联映射有一定了解。When we develop J2EE application system, especially manipulating database, it's comparatively complicated according to JD- BC. Hibernate transfers the relationship between tables to the relationship between objects, and this relationship is announced in the mapping files, which easily solove the problem. The association relationship ineudes one-to-one, one-to-many and many-to-many. This paper offers a systemic analysis of the mapping relatonship, which makes readers acquaint thesselves with it.
关 键 词:HIBERNATE O/R MAPPING one—to—one one-to-many many-to-many J2EE应用系统
分 类 号:TP311.138[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.114.63