what is ORM?

ORM stands for Object Relational Mapping, is the automatic process of persisting objects in java application to the tables in a relational database.

ORM provides the following facilities:---

1. A high level API for performing CURD(create,update,retrieve(select) ,delete) operation.

2. An Object Oriented Query Language(HQL,Criteria,QBC,QBE etc) for querying the persistence objects.

3. A metadata format for mapping persistence object to relational elements.

4. A caching mechanism with proper locking modes.

5. A support for mapping the complex domain object model to the database model.

6. Optimization facilities as dirty checking,lazy associating fetching.


Post a Comment