← Quiz: JPA and Hibernate: all 10 questions
Quiz: JPA and Hibernate · Question 1 of 10
What does JpaRepository<Course, Long mean?
What does JpaRepository<Course, Long> mean?
- A.A repository for Course entities whose id type is Long
- B.A table with two columns, Course and Long
- C.A repository that stores only Long values
- D.A cache of 64-bit numbers
Answer & explanation
Correct answer: A repository for Course entities whose id type is Long
The second type parameter is the primary key type.
Can you get the rest right without peeking?
Take the timed Quiz: JPA and Hibernate quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →