One-to-Many Bi-directional Relationship Demo

This lesson contains the implementation of the one-to-many bi-directional relationship.

We'll cover the following

The implementation

Provided below is the implementation of the application setup we designed in this chapter. Press the ‘run’ button below and try to use the application by interacting with the UI.

You can also switch to the terminal tab and run test cases using the following command:

mvn test

Note: If you plan to run the test cases, you will need to halt the current application server and change the directory to /usercode.

Get hands-on with 1200+ tech skills courses.