基于Hibernate的关联映射研究  被引量:2

The Research on Association Mapping Based on Hibernate

在线阅读下载全文

作  者:黄义平[1] 刘薛蒂[2] 李斌勇[1] 

机构地区:[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[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象