Java Persistence API: Mapping & Configuring Relationships
Java
| Expert
- 21 videos | 1h 59m 39s
- Includes Assessment
- Earns a Badge
In this course, you'll explore the various kinds of relationships that you might want to express using JPA annotations and how these relationships map to relational table design. You'll examine unidirectional as well as bidirectional one-to-one, one-to-many, many-to-one, and many-to-many relationships. Once you're done with this course, you'll be able to model and express real-world relationships between your entities using JPA annotations. Finally, you'll learn how to finely manipulate how you want these relationships configured using underlying database tables.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseSet up a one-to-one mapping between entitiesConfigure join columns for one-to-one mappingSet up a bidirectional one-to-one mapping between entitiesConfigure one-to-one-mapping with a shared primary keyConfigure one-to-one mapping with a join tableSet up a one-to-many unidirectional mappingConfigure a one-to-many mapping with a join tableConfigure eager loading of entities on the many sideConfigure lazy loading of entities on the many sideConfigure one-to-many mapping with join columns
-
Retrieve many entities in order of specific attributesPersist entities in a certain orderSet up a many-to-one unidirectional mappingConfigure a many-to-one mapping with multiple join columnsConfigure a many-to-one mapping with a join tableSet up a one-to-many, many-to-one bidirectional mappingRetrieve entities mapped in both directionsConfigure the owning side and owned side in mappingsSet up a many-to-many bidirectional mappingSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 2s
-
9m 40sLearn how to set up a one-to-one mapping between entities. FREE ACCESS
-
9m 42sDuring this video, you will learn how to configure join columns for one-to-one mapping. FREE ACCESS
-
6m 36sIn this video, find out how to set up a one-to-one mapping between entities in both directions. FREE ACCESS
-
5m 13sIn this video, find out how to configure one-to-one mapping with a shared primary key. FREE ACCESS
-
6m 45sFind out how to configure one-to-one mapping with a join table. FREE ACCESS
-
7m 55sFind out how to set up a one-to-many mapping that only goes in one direction. FREE ACCESS
-
4m 18sDuring this video, you will learn how to configure a one-to-many mapping using a join table. FREE ACCESS
-
4m 58sIn this video, you will learn how to configure eager loading of entities on the "many" side. FREE ACCESS
-
4m 7sIn this video, learn how to configure lazy loading of entities on the "many" side. FREE ACCESS
-
4m 3sIn this video, learn how to configure one-to-many mapping with join columns. FREE ACCESS
-
3m 59sIn this video, you will learn how to retrieve many entities in order of specific attributes. FREE ACCESS
-
5m 18sFind out how to persist entities in a certain order. FREE ACCESS
-
5m 35sLearn how to set up a one-to-many unidirectional mapping. FREE ACCESS
-
3m 18sFind out how to configure a many-to-one mapping with multiple join columns. FREE ACCESS
-
5m 22sIn this video, you will configure a many-to-one mapping with a join table. FREE ACCESS
-
7mDuring this video, you will learn how to set up a one-to-many, many-to-one, and bidirectional mapping. FREE ACCESS
-
3m 47sFind out how to retrieve entities mapped in both directions. FREE ACCESS
-
7m 2sDuring this video, you will learn how to configure the owner and owned sides in mappings. FREE ACCESS
-
11m 5sIn this video, you will learn how to set up a many-to-many bidirectional mapping using JPA and Hibernate. FREE ACCESS
-
1m 55s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.