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

public class Course {

@Id

private int courseNo;

@ManyToMany

private List<Student> studentList;

}

@Entity

public class Student {

@Id

private int StudentNo;

@ManyToMany(mappedBy="studentList")

private List<Course> CourseList;

}

A  @ManyToMany unidirectional lazy fetch mode
B  @ManyToMany bidirectional lazy fetch mode
C  @ManyToMany bidirectional eager fetch mode
D  @ManyToMany unidirectional eager fetch mode
<< First < Previous Next > Last >>
Quiz Home Page
https://www.jobilize.com/java-persistence-api-jpa

Java Persistence API

Author:

Access: Public Instant Grading

Ask
Briana Knowlton
Start Quiz
Sarah Warren
Start Test
Carly Allen
Start Quiz
JavaChamp Team
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>