How create hibernate cfg xml in eclipse?
Answer / Mohammad Sajid Husain
To create a Hibernate configuration XML file (hibernate.cfg.xml) in Eclipse, follow these steps:
1. Create a new file under the project src/main/resources directory.
2. Set the filename as hibernate.cfg.xml.
3. Configure the properties such as dialect, connection URL, username, and password.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is hibernate obsolete?
What are different states of an entity bean?
Define criteria in terms of hibernate.
What is query interface in hibernate?
What is a bidirectional relationship?
What is the role of JMX in hibernate?
What is hibernate in j2ee?
Explain the transaction object in hibernate?
What is mapping class in hibernate?
What is orm and odm?
What is the use of @transient annotation?
What is hbm in hibernate?