Hibernate Architecture

Hibernate support all layer architecture single layer,2 layer,n layer
High level architecture of Hibernate can be described as shown in following illustration.

Hibernate configuration file
In earlier version it was a properties file from hibernate 2.2x it is change if no file is explicitly specified it becomes a hibernate-cfg.xml file as the hibernate configuration file this contain following minimum information

  1. jdbc driver class name.
  2. jdbc url.
  3. database username.
  4. database password.
  5. dilect entry point out database.
  6. name of the mapping file.

Leave a Comment