This post originated from an RSS feed registered with Java Buzz
by instanceof java.
Original Post: Advantages and disadvantages of hibernate
Feed Title: Instance Of Java
Feed URL: http://feeds.feedburner.com/blogspot/TXghwE
Feed Description: Instance of Java. A place where you can learn java in simple way each and every topic covered with many points and sample programs.
Hibernate has an exception translator , which converts checked exceptions of JDBC in to unchecked exceptions of hibernate. So all exceptions in hibernate are unchecked exceptions and Because of this no need to handle exceptions explicitly.
Hibernate supports inheritance and polymorphism.
With hibernate we can manage the data stored across multiple tables, by applying relations(association)
Hibernate has its own query language called Hibernate Query Language. With this HQL hibernate became database independent.
Hibernate supports relationships like One-To-One, One-To-Many, Many-To-One ,Many-To-Many.
Hibernate has Caching mechanism. using this number of database hits will be reduced. so performance of an application will be increases.