What is one to many relationship hibernate?



What is one to many relationship hibernate?..

Answer / Archana Verma

A One-To-Many (1:N) relationship in Hibernate denotes a situation where one entity can have multiple associated entities. For example, one 'Order' can have multiple 'OrderItems'. This is mapped using the '@OneToMany' and '@ManyToOne' annotations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Why do we need orm tools like hibernate?

1 Answers  


What is hbm2ddl in hibernate?

1 Answers  


What are orm tools?

1 Answers  


Does hibernate work with nosql?

1 Answers  


What are concurrency strategies in hibernate?

1 Answers  


What is embeddable in hibernate?

1 Answers  


Can hibernate be used with mongodb?

1 Answers  


What are the inheritance mapping models in hibernate?

1 Answers  


Why do you need orm tools like hibernate?

1 Answers  


How to invoke a stored procedure in hibernate?

1 Answers  


What is the file extension used for hibernate mapping file and hibernate configuration file?

1 Answers  


What’s difference between managed associations and hibernate associations?

1 Answers  


Categories