基于Hibernate的关联映射研究 |
| |
引用本文: | 黄义平,刘薛蒂,李斌勇.基于Hibernate的关联映射研究[J].教育技术导刊,2009,8(6):162-164. |
| |
作者姓名: | 黄义平 刘薛蒂 李斌勇 |
| |
作者单位: | 西南交通大学信息科学与技术学院;四川大学锦城学院; |
| |
摘 要: | 在开发J2EE应用系统中,在进行数据库操作时,使用传统的JDBC来处理数据对象之间的关联关系会非常繁琐。Hibernate通过O/R Mapping将表间关系转化为实体之间的关系,这种关系通过在映射文件中加以声明,较简单地解决了这个问题。Hibernate的关联映射包括一对一,一对多,多对多3种。对这3种关联关系进行系统的分析研究,使得读者对Hibernate的关联映射有一定了解。
|
关 键 词: | Hibernate O/R Mapping one-to-one one-to-many many-to-many J2EE应用系统 |
The Research on Association Mapping Based on Hibernate |
| |
Abstract: | 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 incudes 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. |
| |
Keywords: | Hibernate O / R Mapping One-to-one One-to-many Many-to-many J2EE Application System |
本文献已被 CNKI 维普 等数据库收录! |
| 点击此处可从《教育技术导刊》浏览原始摘要信息 |
| 点击此处可从《教育技术导刊》下载免费的PDF全文 |
|