Hibernate - What are the main advantages of ORM like hibernate?

What are the main advantages of ORM like hibernate?

Advantages of ORM tools :

- The SQL code / statements in the application can be eliminated without writing complex JDBC / Entity Bean code.

- Distributed transaction can simply be performed by using ORM tools.

- Hibernate is an open source ORM tool and a robust framework to perform ORMapping.

- Without much of SQL knowledge, one can master Hibernate easily.

What are the main advantages of ORM like hibernate?

- Hibernate implements extremely high-concurrency architecture with no resource-contention issues. This architecture scales extremely well as concurrency increases in a cluster or on a single machine.

- Other performance related optimizations that hibernate performs are:

1. Caching objects
2. Executing SQL statements later, when needed
3. Never updating unmodified objects
4. Efficient Collection Handling
5. Rolling two updates into one
6. Updating only the modified columns
7. Outer join fetching
8. Lazy collection initialization
9. Lazy object initialization
Hibernate - What are the core interfaces of Hibernate framework?
What are the core interfaces of Hibernate framework? - Session Interface, SessionFactory interface, Configuration Interface, Transaction Interface, Query and Criteria interface...
Hibernate - Explain how to configure Hibernate.
Explain how to configure Hibernate - Hibernate uses a file by name hibernate.cfg.xml. This file creates the connection pool and establishes the required environment....
Hibernate - What is a HibernateTemplate?
What is a HibernateTemplate? - HibernateTemplate is a helper class that is used to simplify the data access code.
Post your comment