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
|