SKILL BENCHMARK
Java Persistence API with Hibernate Proficiency (Advanced Level)
- 18m
- 18 questions
The Java Persistence API with Hibernate Proficiency (Advanced Level) benchmark measures your ability to implement one-to-one, one-to-many, many-to-one, and many-to-many relationships using JPA annotations. You will be evaluated on your skills in implementing mappings for collections of primitive types, embeddable objects, and collections of entities. Learners who score high on this benchmark demonstrate that they have the skills to set up mapping and configuring relationships and handle list, set, and map collections in JPA and Hibernate.
Topics covered
- configure a many-to-one mapping with a join table
- configure a many-to-one mapping with multiple join columns
- configure eager loading of entities on the many side
- configure join columns for one-to-one mapping
- configure lazy and eager loading for collections
- configure lazy loading of entities on the many side
- configure maps using @MapKeyColumn and @MapColumn
- configure one-to-one-mapping with a shared primary key
- configure the owning side and owned side in mappings
- persist collections using the Set interface
- persist nested objects in collections
- retrieve many entities in order of specific attributes
- set up a bidirectional one-to-one mapping between entities
- set up a many-to-many bidirectional mapping
- set up a one-to-many, many-to-one bidirectional mapping
- set up a one-to-many unidirectional mapping
- use embeddable objects as map values
- use entities as map keys