Question: What are the benefits of ORM and Hibernate?

Ads

 
 
 

Share on Google+Share on Google+

Java Coder
What are the benefits of ORM and Hibernate?
1 Answer(s)      4 years ago
Posted in : Hibernate

Hi,

What are the benefits of ORM and Hibernate?

Thanks,

Ads
View Answers

April 22, 2013 at 5:00 PM


Hi,

The main benefits of Object Relational Mapping tools of hibernate is that O/RM maps an object to the relational database table. Hibernate is also an O/RM and is available as open source project. To use Hibernate with Java you will be required to create a file with .hbm.xml extension into which the mapping information will be provided.

  1. The SQL Code/ state,emt in application can be obviated without writing complex JDBC / Entity Bean code.
  2. Distributed transaction can simply be performed by using ORM tools.
  3. Hibernate is an open source ORM tool and a robust framework to perform Object Relational Mapping.
  4. Without much of SQL knowledge, one can master Hibernate easily.

For more details visit this link: http://www.roseindia.net/hibernate/hibernate4/hibernateORMapping.shtml

Thanks,


Ads









Tutorials   
Java Spring Hibernate Struts Training Hibernate maven dependency example What is the difference between JPA and Hibernate? How to turn off hbm2ddl? Hibernate hbm2ddl.auto values Hibernate table not mapped error - solution Hibernate error class is not mapped Hibernate Envers custom revinfo table Hibernate Envers - REVINFO table doesn't exist How to enable second level cache in Hibernate 5? How to enable second level cache in Hibernate 5? java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based! org.hibernate.validator cannot be resolved error java.lang.ClassNotFoundException: org.hibernate.cache.TimestampsRegion java.lang.ClassNotFoundException: org.hibernate.cache.TimestampsRegion property hibernate.cache.region.factory_class is not given Hibernate example step by step in Eclipse with MySQL How to make Struts Hibernate and Spring Based Login/Registration Application? What is the use of Hibernate Native SQL? What is the use of Hibernate is used? How to integrate Struts and Hibernate in an application? How to create the program in Java for getting the forgotten Password Form? How to write create JPA Many-to-Many Relationship in Java? What is the DAO Layer in any application? What is Spring Struts Hibernate DAO Layer? How to write Example code for CRUD application in hibernate annotation? Where to update the Hibernate tools? Query conversion convert into hql how to convert sql into hql package org.hibernate.util does not exist C3P0 with Hibernate What do you understand by JPA? Hibernate Query Checker Jpa many to many relationship What do you understand by Hibernate in Java? What are criteria Queries in Hibernate? How to use Associations and Joins in Hibernate? Hibernate 4 Example with Eclipse How to learn Hibernate? What is Hibernate Framework? hibernate faq 15/03/14 hibernate 15/03/2014 Hibernate Criteria Wildcard how to add mulitiple projections this is a hibernate question this is a hibernate question this is a hibernate question how to writw connection pool coding Hibernate 4.3 and JPA 2.1 support How to create Hibernate session factory name?

Ads

 
Advertisement null

Ads