Is hibernate configuration file mandatory?



Is hibernate configuration file mandatory?..

Answer / Jeet Singh

Although not strictly mandatory, a Hibernate configuration file (hibernate.cfg.xml or a properties file) is commonly used to set up the environment for Hibernate and configure various parameters such as database connection details, dialect, mappings, and caching.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is difference between first level cache and second level cache?

1 Answers  


What is hibernate dialect?

1 Answers  


What is hibernate dialect for oracle?

1 Answers  


Does hibernate work with nosql?

1 Answers  


What is dirty read problem in hibernate?

1 Answers  


What is difference between jpa and hibernate?

1 Answers  


What are different states of an entity bean?

1 Answers  


What is difference between hibernate and ibatis?

1 Answers  


What is difference between save and persist method in hibernate?

1 Answers  


What is the use of dialect in hibernate?

1 Answers  


Difference between hibernate session merge() vs update()?

1 Answers  


Is hibernate sessionfactory is thread safe?

1 Answers  


Categories