What’s the usage of configuration interface in hibernate?
Answer / Richa Chaurasia
The Configuration interface in Hibernate is used to configure and create a SessionFactory, which manages connections to a database. It sets up the basic connection details, database dialect, and mapping resources. You can obtain an instance of Configuration by calling Configuration.standard() or Configuration.configure(), passing in a properties file that contains configuration settings.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the importance of lifecycle and validatable interface in hibernate?
What is version property in hibernate?
Can I reuse the session in hibernate?
What is difference between save and persist in hibernate?
What is id generator in hibernate?
What is hibernate criteria api?
Hibernate Session is thread safe?
What is detached entity in hibernate?
What is jboss hibernate?
What is hibernate mapping?
What is hibernate entitymanagerfactory?
Is hibernate session thread safe?