Java Persistence API with Hibernate Competency (Intermediate Level)

  • 12m
  • 12 questions
The Java Persistence API with Hibernate Competency (Intermediate Level) benchmark measures your knowledge of how primary keys are set up for tables and entities. You will be evaluated on your skills in configuring individual fields and primary keys for database entities and performing create, read, update, and delete operations using JPA's EntityManager. Learners who score high on this benchmark demonstrate that they have the skills to structure entities and attributes based on specifications and perform basic storage and retrieval operations using JPA and Hibernate.

Topics covered

  • annotate non-persistable fields using @Transient
  • apply the @Column annotation to define columns
  • configure composite keys using @Embeddable and @Id annotations
  • configure composite keys using the @IdClass annotation
  • configure embeddable entities as persistent fields
  • configure the table name using the @Table annotation
  • perform read operations on database entities
  • perform update and delete operations on entities
  • specify entity attributes using XML
  • specify precision and scale values for floating point columns
  • use @GeneratedValue to generate primary key values
  • use the IDENTITY generation type for multiple tables