How create hibernate cfg xml?
Answer / Preeti Sharma
To configure Hibernate using XML, you need to create a configuration file (hibernate.cfg.xml) in the root directory of your project. The file contains settings for various aspects such as database connection properties, mappings, dialects, etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the different functionalities supported by hibernate?
What is the difference between load() and get() method?
What is referential integrity and why is it important?
What is the purpose of orm?
What is mappedby?
Describe the important interfaces of hibernate framework?
Is hibernate an implementation of jpa?
What is the use of dialect in hibernate?
Difference between hibernate session merge() vs update()?
What is the use of sessionfactory in hibernate?
What is metadata in hibernate?
Write a code to do the component mapping in hibernate.