🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: JPA and Hibernate: all 10 questions

Quiz: JPA and Hibernate · Question 3 of 10

In JPQL, what do you write after FROM?

In JPQL, what do you write after FROM?

  1. A.The table name, e.g. course
  2. B.The entity class name, e.g. Course
  3. C.The repository name
  4. D.The database schema name
Answer & explanation

Correct answer: The entity class name, e.g. Course

JPQL works with entities and their fields.

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 →