Comments and Discussions
You don't need to login to post your comment
Comments:
30
Views:
60k
Likes:
120k
votes
Anonymous
🌐 India
What is true about the following @Entity association between House and Window?
@Entity
public class Window {
@old
private int winNo,
Many ToOne
private House aHouse,
Entity
public class House (
private int houseNo
Cino ToMany(mappedBy="aHouse") privele List windows
It's One ToMany unidirectional association It's One ToMany bidirectional association
The association owner is the House class
The association owner is the Window class
@Entity
public class Window {
@old
private int winNo,
Many ToOne
private House aHouse,
Entity
public class House (
private int houseNo
Cino ToMany(mappedBy="aHouse") privele List windows
It's One ToMany unidirectional association It's One ToMany bidirectional association
The association owner is the House class
The association owner is the Window class
Was this answer helpful?
votes
Anonymous
🌐 India
What type of object is returned on completion of a test?
Was this answer helpful?