SKILL BENCHMARK

Java Persistence API with Hibernate Literacy (Beginner Level)

  • 10m
  • 10 questions
The Java Persistence API with Hibernate Literacy (Beginner Level) benchmark measures your knowledge of the basic ideas behind object-relational mapping. You will be evaluated on your skills in using JPA with the Hibernate implementation to connect to a database from a Java application, creating entities, and using the JPA EntityManager to persist entities in the underlying database. Learners who score high on this benchmark demonstrate that they have the skills to recognize the basic features of the JPA and Hibernate frameworks.

Topics covered

  • configure database connection details in persistence.xml
  • configure drop and create actions using scripts
  • configure JPA and Hibernate dependencies in pom.xml
  • configure the range of actions that can be performed using persistence.xml
  • identify why object-relational mapping is needed to work with databases
  • install MySQL and MySQL Workbench on a Windows machine
  • outline the basic functionality that the Hibernate framework provides and how it differs to JPA
  • outline the basic functionality that the JPA framework provides and how it differs to Hibernate
  • represent entities and primary keys using annotations
  • store entities in the underlying database using the EntityManager