Java Persistence API: Embedding Collections & Managing Cascade Operations
Java
| Expert
- 22 videos | 1h 58m 17s
- Includes Assessment
- Earns a Badge
In this course, you'll explore how nested collections within an outer entity can be mapped using JPA. You'll implement mappings for collections of primitive types, embeddable objects, and collections of entities. You'll examine how JPA and Hibernate handle list, set, and map collections. Next, you'll relate how specific operations such as entity persistence, update, and removal can be cascaded from parent entities to child entities and illustrate how inheritance relationships in your code can be mapped to database tables. Once you're done with this course, you'll be able to use nested collections within your entities and also map inheritance relationships in your code to meaningful representations using tables.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseDefine collection mapping for primitive data typesConfigure lazy and eager loading for collectionsPersist collections using the set interfacePersist nested objects in collectionsPersist collections defined using the map interfaceConfigure maps using @mapkeycolumn and @mapcolumnUse embeddable objects as map valuesUse entities as map valuesUse entities as map keysRecall the implications of cascade type none
-
Summarize the effects of cascade type persist and removeSummarize the effects of cascade type mergeSummarize the effects of cascade type detach and allApply the @mappedsuperclass annotation to parent classesRecall the effects of persisting derived entities with a mapped superclassUse the single_table inheritance to store all entities in a single tableSpecify discriminator columns with specific discriminator valuesConfigure entities to handle null and unknown discriminator valuesUse the table_per_class inheritance to store entities in multiple tablesUse the joined inheritance to store entities in multiple tablesSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 12s
-
5m 37sFind out how to map collections for primitive data types. FREE ACCESS
-
5m 2sIn this video, learn how to configure lazy and eager loading for collections. FREE ACCESS
-
3m 11sIn this video, you will learn how to persist collections using the Set interface. FREE ACCESS
-
4m 33sLearn how to store nested objects in collections. FREE ACCESS
-
4m 41sDuring this video, you will learn how to persist collections defined using the Map interface. FREE ACCESS
-
3m 26sIn this video, find out how to configure maps using @MapKeyColumn and @MapColumn. FREE ACCESS
-
4m 38sIn this video, you will learn how to use embeddable objects as map values. FREE ACCESS
-
6m 17sDuring this video, you will learn how to use entities as map values. FREE ACCESS
-
6m 49sIn this video, find out how to use entities as map keys. FREE ACCESS
-
6m 26sUpon completion of this video, you will be able to recall the implications of cascade type none. FREE ACCESS
-
5m 24sIn this video, learn how to summarize the effects of cascade type PERSIST and REMOVE. FREE ACCESS
-
4m 46sIn this video, you will summarize the effects of a cascade type MERGE. FREE ACCESS
-
5m 21sFind out how to summarize the effects of cascade type DETACH and ALL. FREE ACCESS
-
9m 6sIn this video, you will apply the @MappedSuperclass annotation to parent classes. FREE ACCESS
-
5m 31sAfter completing this video, you will be able to recall the effects of persisting derived entities that have a mapped superclass. FREE ACCESS
-
6m 49sFind out how to use the SINGLE_TABLE inheritance to store all entities in a single database table. FREE ACCESS
-
4m 30sAfter completing this video, you will be able to specify discriminator columns with specific discriminator values. FREE ACCESS
-
5m 3sIn this video, find out how to configure entities to handle null and unknown values for the discriminator. FREE ACCESS
-
10m 3sIn this video, find out how to use the TABLE_PER_CLASS inheritance to store entities in multiple tables. FREE ACCESS
-
7m 1sIn this video, learn how to use the JOINED inheritance to store entities in multiple tables. FREE ACCESS
-
1m 50s
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.