preview

Concept Of Hibernate Objectrelationalmapping ( Orm ) Tool And How Hibernate

Decent Essays
Abstract This paper explains the concept of Hibernate ObjectRelationalMapping(ORM) tool and how hibernate can be used to simplify the development of Java/J2EE application to interact with the database. The purpose of any ObjectRelationalMapping tool is to simplify the data creation, data manipulation and data access for an object in accordance with the relational database. Several ORM tools were introduced in the market over years and one of the most extensively used in the today’s market is Hibernate. This documentation will be covering the following topics to understand the concept of Hibernate ORM tool. • Introduction • Need of an ORM tool • Setting up hibernate to use in the java application • Overview of implementation of hibernate • Saving an object using Hibernate • Create-Read-Update-Delete (CRUD) operations in Hibernate • Entity Objects and Value Objects within another Entity Object • Proxy Objects and Lazy, Eager Loading • OneToOne, OneToMany, ManyToOne, ManyToMany Mapping • Inheritance in Hibernate • Object States in Hibernate • Fetching the object through Hibernate • Hibernate Cache Introduction: Hibernate initially started as an ObjectRelationalMapping (ORM) tool, later many features have been added to this tool. Hibernate is primarily used in the data layer of applications where the functionality to persist the objects from an application into the database is performed. Hibernate implements Java Persistence API (JPA). JPA is set of standards defined
Get Access