Step 2-Hibernate definition and architecture

Hibernate Definition

  • Hibernate is pure ORM tool.
  • ORM stands for Object Relational mapping.
  • ORM is a concept to save/manipulate java objects to database tables.
  • The main goal of hibernate to avoid old JDBC code and focus more on business logic.

Advantages of Hibernate

  • No need to maintain lengthy JDBC code
  • write less code
  • Lazy Loading
  • Caching

Hibernate Architecture


Table – Java : Hibernate : sql datatypes mapping