| The Object-Oriented Programming (OOP) is very popular nowadays, but at the same time we have to use relational database. So combining them together will accelerate the development of software to a great extent. Object/Relational database which map the objects of OOP into the data structure of relational models which are based on SQL can have the following advantages: (1) The structure of database is in focus and it is easy to realize OOP. (2) The objects of database are independent and it is easy to maintain. (3) The program and database need fewer changes when requirements change. Because relational database system is based on two-dimension table, so object models are eventually described by using two-dimension table. Object/Relational mapping (ORM) should be performed by using special mapping tool. In this paper, the study and application of Object/Relational database based on an ORM tool-Hibernate is discussed. It includes the structure of development, the definition of persistent classes, the mapping method of Object/Relational database and the method of manipulating data. In the end, the application of Object/Relational database in the Ministry of Education's Human Resource and Salary Information Management System is discussed. |