From the course: Java Persistence with JPA and Hibernate
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Challenge: Art Class Management app, part 2 - JPA Tutorial
From the course: Java Persistence with JPA and Hibernate
Challenge: Art Class Management app, part 2
(upbeat music) - [Instructor] It's time for another code challenge. The Orange Valley Community Arts Association conducts art classes for students. There are skilled teachers to conduct these art classes. In this challenge, you'll define entities, map their fields to columns, and define primary keys of entities for the art class management application for Orange Valley Community Arts Association. If you haven't already set up the database by running the MariaDB (indistinct) script, make sure you run it before working on any of the steps of this challenge. You can find task steps in a file named challenge-steps.txt in branch 04_05 of the GitHub repository of this course. Simply follow the steps to complete this challenge. This challenge should take you around 15 minutes to complete. If you take longer than that, that's totally fine. You can always watch the chapter videos again if you need help. Good luck with the challenge.
Contents
-
-
-
-
-
-
Defining an entity3m 59s
-
(Locked)
Mapping entity fields to table columns3m 57s
-
(Locked)
Specifying the primary key4m 57s
-
(Locked)
Creating a new entity instance in the context5m 39s
-
(Locked)
Challenge: Art Class Management app, part 21m 10s
-
(Locked)
Solution: Art Class Management app, part 22m 27s
-
-
-
-
-
-