Hibernate Object Persistence Research and Applications in News Publishing System
- Author
- LiXiaoDong
- Advisor
- WangLiMing
- School
- Zhengzhou University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 36
- Citations
- 0
Abstract
In the current application development environments, Object-Oriented Programming is the main method, relational database systems is the main storage system. Does not match the two technologies,the object data to a relational database persistence, the need for Object Relational Mapping (Object Relation Mapping, referred to as the ORM). Hibernate framework is Object Relational Mapping tool. It is written using Java and open-source middleware. Made of lightweight package JDBC technology. Hibernate framework not only provides a mapping Java classes to database tables, Also provides data query and data acquisition methods.Using the Hibernate framework can significantly reduce manual developers write structured query language,Allowing developers to focus more on business logic rather than the details of the database.This paper studies the Hibernate object persistence technology, and a detailed description of Hibernate architecture, persistent class methods, Object Relational Mapping, operational data methods, and Hibernate query language. Finally, a news publishing system base on Hibernate is given.
Table of contents
Summary 4-5
Abstract 5-6
directory 6-9
Chapter 1 Introduction 9-15 <br / > 1.1 Background 9-10
1.2 research significance 10
1.3 critical theory and technology 10-14
1.3.1 persistence 10-11
1.3.2 relational database 11-12
1.3.3 POJO 12
1.3.4 JDBC 12-14 < br /> 1.3.5 HIBERNATE 14
1.4 The main contents 14-15
Chapter II object-relational mapping 15-28
2.1 mapping 15-16
2.2 mapping instructions 16-28
2.2.1 Statement entity 16-17
2.2.2 definitions table 17
2.2.3 basic attribute mapping 17-19
2.2.4 declare column properties 19-20
2.2.5 embedded objects 20-21
2.2.6 without annotation attribute defaults 21
2.2.7 mapping the primary key attribute 21-23
2.2.8 mapping entity relationship 23-28
chapter 3 HIBERNATE persistent object 28-41
3.1 HIBERNATE core API 28-31
3.1.1 Configuration class 28-29
3.1.2 SessionFactory interfaces 29
3.1.3 Session Interface 29-30
3.1.4 Transaction Interface 30
3.1.5 Query Interface 30-31
3.1.6 Criteria interfaces 31
3.2 HIBERNATE system configuration files 31-32 <br / > 3.3 to create persistent classes 32-33
3.4 to create a mapping persistent classes associated with the database table 33
3.5 operating persistent object 33-37
3.5.1 persistent object 33-34
3.5.2 loading an object 34
3.5.3 query object 34-35 <br / > 3.5.4 update objects 35-36
3.5.5 deleting objects 36-37
3.6 HIBERNATE query language 37-41
fourth Chapter HIBERNATE based application 41-54
4.1 News Publishing System Overview 41
4.2 functional analysis 41-42
4.3 module design 42-43
4.4 introduced HIBERNATE library 43
4.5 HIBERNATE create profiles 43-44
4.6 to create entity classes and object-relational mapping 44 -46
4.7 using hbm2ddl generate database table 46-47
DAO class 4.8 pairs entity class object manipulation 47-49
4.9 unified error handling 49-50
4.10 system shows 50-52
4.11 news release system workload analysis 52-54
fifth chapter summarizes 54 - 55
References 55-57
master's degree during the academic papers 57-58
Thanks 58
Related dissertations
- Application and Study of Ssh Frame Techlology in the Supermarket Management System
- Research on Obiect Persistence Based on J2EE
- Designing and Implementation of Data Persistent Layer Frame Orient Manufacturing Execution System
- Design and Implementation of Community Management Information System Based on ORM Technology
- An Empirical Study on the Performance of Chinese Mutual Funds
- Research on Persistence in Market Timing Ability of Bond Fund Managers
- Accounting Conservatism, Earnings Persistence, and Accruals Anomaly
- Research on Common Persistence in Conditional Variances Theory and Its Application
- Multi-scale Analysis of RMB Exchange Rate Based on Wavelet Theory
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Research and Application Based on SSH2and JBPM for J2EE Develop Platform
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- Personnel salary management system based on WEB application
- Design and implementation of no warehousing logistics management platform based on SSH
- The Research and Application of Web Framework based on Lightweight J2EE
- Design and Implementation of University Student Information Management System Based on MVC and ExtJS
- The Design and Implementation of Vehicle Tracking Management System
- Retailers Membership Card Management System Design and Implementation
- RCP-based Integrated Online Teaching and Management System Design and Implementation
- Design and implementation of mobile phone software and network instant communication software