🤔 No result found

👉 Don't loose hope, Try out below methods

Ask on Telegram
  • 💡 Search Tips
  • ➡️ Type question from start
  • ➡️ Use unique words from question
  • ❌ Don't search full question
Telegram Group 🔥🔥🔥 Get answers in minutes
Questions answered : 48 /50
Guy
Guy
Guy
Guy
Guy
+ 4981 more
Verified Answer verified

What's true about the following @Entity association between House and Window?@Entitypublic class Window { @Id private int winNo; @ManyToOne private House aHouse;}@Entitypublic class House { @Id private int houseNo; @OneToMany(mappedBy="aHouse") private List windows;}

🗓 Dec 7, 2024

Answer is "It's OneToMany bidirectional association"

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
Was this answer helpful?
votes
Anonymous 🌐 India
What type of object is returned on completion of a test?
Was this answer helpful?

Was your question answered?

Thanks for the feedback! ✅

Want to get famous? 📸

Answer question and get 🤩 high-lighted on our homepage.

Just Automated Logo

© 2017-2022 Foxoyo™
All rights reserved.

Facebook Connect with us