adspace


What is an example of a one to many relationship?

Answer Posted / Kriyanshu Saraswat

A simple example of a one-to-many (1:N) relationship in Hibernate is when a single Student can have multiple Addresses. In the database schema, this would be represented as a foreign key column in the Address table pointing to the ID of the Student.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest hibernate version?

493