What is the use of configuration in hibernate?



What is the use of configuration in hibernate?..

Answer / Mohammed Shahid

Configuration is a Hibernate class that loads configuration files, sets up various options such as database connection settings, dialect, and mapping file locations, and returns a SessionFactory instance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is orm database?

1 Answers  


What hibernate save returns?

1 Answers  


What is referential integrity and why is it important?

1 Answers  


What happens if hibernate session is not closed?

1 Answers  


What is a pojo class in hibernate?

1 Answers  


How many strategies are there in hibernate inheritance?

1 Answers  


Is sessionfactory singleton in hibernate?

1 Answers  


What does evict do in hibernate?

1 Answers  


What is tag library descriptor?

1 Answers  


Does hibernate support polymorphism?

1 Answers  


What is the difference between load() and get() method in hibernate?

1 Answers  


What are the main advantages of orm like hibernate?

1 Answers  


Categories