What is collection mapping in hibernate?



What is collection mapping in hibernate?..

Answer / Dhram Pal

Collection mapping in Hibernate refers to the way collections (lists, sets, maps) of entities are stored in the database. It involves defining the association between an entity and a collection using various annotations such as `@OneToMany`, `@ManyToOne`, etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Hibernate SessionFactory is thread safe?

1 Answers  


Can we delete foreign key?

1 Answers  


Does hibernate cache data?

1 Answers  


What is lazy loading and why is it used for?

1 Answers  


What are the ways to access hibernate by using spring?

1 Answers  


Describe the important interfaces of hibernate framework?

1 Answers  


What are the 4 principles of orm?

1 Answers  


How to implement one to many relationships with annotation?

1 Answers  


How create hibernate cfg xml file?

1 Answers  


What is a 1 n relationship?

1 Answers  


What are the benefits of hibernate over jdbc?

1 Answers  


Which is better jdbc or hibernate?

1 Answers  


Categories