Based on Hibernate of JAVA Object Persistence

Author
SunShengLan
Advisor
ZhaoZheng
School
Tianjin University
Major
Applied Computer Technology
Classification
TP312.1 Programming language ALGOL
Degree
Master's thesis
Year
2006
Downloads
331
Citations
6

Request the full text

Abstract

In the environment of application development,Object-Oriented Programming (OOP) is very popular ,Java is a very strong language in the Object-Oriented Programming (OOP).As you know,Java object can load in the memory,but memory can’t save data permanence,If you want to save object’s state permanently,you need to process object oriented,It means to save object in the special database.At present, the relational database is still the most popular database.Map the objects of OOP with relational database models will speed the application developent.Hibernate is a bridge of Java application and relational database,It is a persistent middleware base on the Java opening source code ,making encapsulation with lightweight level to JDBC,not only provide ORM mapping service,but also provide function that include data query and data buffer memory.This paper, is based on the study the techinique of Hibernate of the Java object persistence. It includes the structure of development, the definition of persistent classes, the mapping method of Object/Relational database and the method of manipulating data.Lastly,exemply with the student manage item,show application of the Hibernate.

Table of contents

Summary 2-3 ABSTRACT 3-6 first chapter 6-11 1.1 Background 6-10 < br /> 1.1.1 relational database 6-7 1.1.2 OOP JAVA language 7-8 1.1.3 object / relational database advantages 8-10 1.2 papers 10-11 the second chapter JAVA object persistence Technical Overview 11-15 2.1 applications layered persistence layer 11-12 2.2 ORM Introduction 12-15 Chapter HIBERNATE About 15-21 3.1 HIBERNATE Overview nbsp 17-21 Chapter; 15-16 3.2 object _ relational mapping foundation 16-17 3.3 architecture utilize the HIBERNATE persistent JAVA class 21-26 4.1 Create the configuration file of HIBERNATE 21-22 4.2 to create persistent class 22-24 4.3 Create Database 24-26 Chapter object - relational mapping the 26-35 5.1 mapping file 26-27 5.2 mapping file description 27-35 Chapter VI operations persistent object 35-42 6.1 SESSION with SESSIONFACTORY of object 35-36 6.2 Creating a persistent object 36 - 37 6.3 Loading an object 37 6.4 query object to change 37-39 6.5 in the current SESSION save or loaded object 39-40 < br /> 6.6 saves and updates are found; 40 6.7 delete persistent object 40-42 Chapter VII the HIBERNATE retrieve way 42-47 7.1 case sensitive issues 42 7.2 the FROM clause 42-43 7.3 Joint and connection 43 7.4 the SELECT clause 43 7.5 statistical functions the 43-44 7.6 polymorphic 44 7.7 the WHERE clause 44-45 7.8 GROUP BY clause 45-46 7.9 subquery nbsp are; 46-47 Chapter VIII HIBERNATE application the 47-54 8.1 examples illustrate 47-52 8.1.1 Create a table 47 8.1.2 to create a configuration file and class 47-49 8.1.3 define the mapping file 49-52 8.2 Summary 52-54 Summary and Outlook to References 54-55 55-57 papers scientific research note 57-58 Acknowledgements 58

Related dissertations

  1. Research on the Design and Performance of Alert Center System
    ZuoJie ·Zhejiang University ·2008 ·Master's thesis
  2. Application and Study of Ssh Frame Techlology in the Supermarket Management System
    HeYanFang ·Hunan University ·2011 ·Master's thesis
  3. Web Application System Research Based on Struts and Hibernate
    FengShiZuo ·Suzhou University ·2007 ·Master's thesis
  4. Research on E-government Foundation Platform Based on Spring and JPA
    ZhouYangChuan ·Chengdu University of Technology ·2008 ·Master's thesis
  5. The Research and Design of the Teachers Testing and Evaluating System of LiaoNing Information Vocational Technical College
    SongLai ·Jilin University ·2007 ·Master's thesis
  6. Research and Realization of Educational Administration System Based on Struts and Hibernate
    HuangJun ·East China Normal University ·2008 ·Master's thesis
  7. Research and Implementation of Lightweight and Reusable Technique for Data Persistence
    KuangLei ·Central South University ·2007 ·Master's thesis
  8. The Application of Struts in Cooperative Office System Based on MVC Pattern
    ChenDaPeng ·Wuhan University of Technology ·2007 ·Master's thesis
  9. The Degree of Opening to the Outside World and Intergenerational Mobility
    HuangJianZhong ·Xiangtan University ·2013 ·Master's thesis
  10. Non negative pressure water pump monitoring system design and implementation of SCADA software
  11. Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store
    ChenCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  13. Design and application of J2EE persistence layer framework DR-ORM
  14. Research and Application Based on SSH2and JBPM for J2EE Develop Platform
    DingZhiYi ·Northwest Normal University ·2013 ·Master's thesis
  15. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  16. Personnel salary management system based on WEB application
  17. Design and implementation of no warehousing logistics management platform based on SSH
  18. The Research and Application of Web Framework based on Lightweight J2EE
    ZengGuangPing ·Sun Yat-sen University ·2013 ·Master's thesis
  19. Design and Implementation of University Student Information Management System Based on MVC and ExtJS
    GuLiYe ·Dalian University of Technology ·2013 ·Master's thesis
  20. The Design and Implementation of Vehicle Tracking Management System