What are the advantages of Hibernate?

What are the advantages of Hibernate?

Hi,

Tell me the advantages of Hibernate?

Thanks

View Answers

October 27, 2010 at 5:49 PM

Hibernate advantages:

  1. Database independent application.

2.In Jdbc we use .properties file and in hibernate we use .xml file which is a better approach.

3.Automatic primary key generation

4.Object/Relational mapping definition

5.High Performance

6.Primary feature of hibernate is to java classes to database tables. Data query and retrieval is also possible with Hibernate

7.Hibernate it allows developers to port applications to almost all SQL databases.

8.You will get benefit of Cache. Hibernate support two level of cache. First level and 2nd level. So you can store your data into Cache for better performance. In case of JDBC you need to implement your java cache.

9.In the xml file you can see all the relations between tables in case of Hibernate. Easy readability.

10.You can load your objects on start up using lazy=false in case of Hibernate.JDBC Don't have such support.

11.Hibernate Supports automatic versioning of rows but JDBC Not.

Thanks


October 27, 2010 at 5:49 PM

Hi,

Read more at Hibernate advantages and disadvantages.

Thanks









Related Tutorials/Questions & Answers:
What is the main feature of Hibernate3?
What are the advantages and disadvantages of CSS?
Advertisements
What are Advantages and Disadvantages of AJAX
Feature of Hibernate3
What are the advantages of Hibernate?
What are the advantages of using Stored Procedures?
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?
what is the Advantages moqui framework vs other frameworks
What are the advantages and disadvantages of fleet management?
the Advantages of Struts
Advantages of JSF
Advantages of ORM
Maven Repository/Dependency: org.grails.plugins | hibernate5
Maven Repository/Dependency: hibernate | hibernate3
advantages of Servlets
Maven dependency for org.grails.plugins - hibernate5 version 7.0.6 is released. Learn to use hibernate5 version 7.0.6 in Maven based Java projects
Maven dependency for org.grails.plugins - hibernate5 version 7.0.7 is released. Learn to use hibernate5 version 7.0.7 in Maven based Java projects
Maven dependency for org.grails.plugins - hibernate5 version 7.0.5 is released. Learn to use hibernate5 version 7.0.5 in Maven based Java projects
Advantages of XML
struts1.2,EJB3.0 and Hibernate3 integration example application - EJB
Hibernate Advantages
advantages of get method?
What is an Applet
VoIP Advantages
Advantages of Cloud Computing
What are the Advantages of E-Commerce?
Hibernate 4 AnnotationSessionFactoryBean
Advantages of Testing tools
Hibernate advantages and disadvantages
VoIP Advantages
Advantages of Outsourcing,The Benefits of Outsourcing,Offshore Outsourcing Advantages
Benefits of Outsourcing - Outsourcing Benefits and Advantages
Advantages of Spring Framework
Advantages of GPS
Sugget a design pattern and the advantages in it - Design concepts & design patterns
Advantages and Drawbacks of Fleet Management
Advantages and Disadvantages of the Collection Framework
What is the use of Hibernate?
Advantages and Disadvantages Global Positioning System
Windows 8 Advantages and Disadvantages
Global Positioning System Advantages
Advantages of Social Media marketing for Business
Benefits of Outsourcing, Top Outsourcing Benefits and Advantages
what is bit
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
What is procedure

Ads