What is component mapping in hibernate?
Answer / Anil Kumar Singh
Component mapping in Hibernate allows you to map Java classes without using explicit association between them. It's useful for composite objects with no direct relationship between each other. In component mapping, a single table can be mapped by multiple entities.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which hibernate object wraps the jdbc connection?
What is the use of @transient annotation?
When do you use merge() and update() in hibernate?
What is the role of sessionfactory?
Which class elements are not persisted?
What is difference between save and update in hibernate?
Why is sessionfactory used in hibernate?
What is l1 and l2 cache in hibernate?
What is meant by a Named SQL Query in hibernate and how it’s used?
What are the benefits of ORM?
What is entity manager in hibernate?
What is current_session_context_class in hibernate?