Quiz Permalink:
https://www.jobilize.com/java-persistence-api-jpa
Question Permalink:
https://www.jobilize.com/entity-association-onetomany-bidirectional
Question 20 / 22:  Which @Entity association attributes are implemented in the following code snippet?
@Entity

public class Window {

@Id

private int winNo;

@ManyToOne

private House aHouse;

}

@Entity

public class House {

@Id

private int houseNo;

@OneToMany(mappedBy="aHouse")

private List<Window> windows;

}

A  @OneToMany unidirectional
B  @OneToMany bidirectional
C  @OneToMany no directional attribute specified
<< First < Previous Next > Last >>
Quiz Home Page
https://www.jobilize.com/java-persistence-api-jpa

Java Persistence API

Author:

Access: Public Instant Grading

Ask
Yasser Ibrahim
Start Quiz
Courntey Hub
Start Test
Madison Christian
Start Quiz
Yacoub Jayoghli
Start Quiz
Stephanie Redfern
Start Quiz
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/java-persistence-api-jpa" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>