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
- jdbc driver class name.
- jdbc url.
- database username.
- database password.
- dilect entry point out database.
- name of the mapping file.