What is the root element for the hibernate mapping file?
Answer / Neeraj P Singh
The root element of a Hibernate mapping file (hbm.xml) is <hibernate-mapping>. This element contains other elements such as <class>, <id>, and <many-to-one> that define the schema, primary key, and associations for the entities.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the default cache in hibernate?
How can we reattach any detached objects in Hibernate?
When do you use merge() and update() in hibernate?
Why hibernate is used in java?
What is @manytoone?
What are the core interfaces are of hibernate framework?
How can we reduce database write action times in Hibernate?
What is a hibernatetemplate?
What’s difference between managed associations and hibernate associations?
Is a relationship in hibernate?
How can we map the classes as immutable?
What is hibernate qbc api?