1.

What are the two key components of a hibernate configuration object?

Answer»

The Configuration object provides two keys components −

  • Database Connection − This is handled through one or more configuration files supported by Hibernate. These files are hibernate.properties and hibernate.cfg.xml.

  • Class Mapping Setup

  • This component creates the connection between the Java classes and database tables.



Discussion

No Comment Found