Extra 8. JPA
Main steps
- Investigate package jtm.extra08.
- Implement persistence for Invoice and Item classes using JPA
to pass unit tests. - To view and manage H2 database from browser, run command bash browse-h2-db.sh from ...extra08 folder
If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.
Main steps
Note that this (configuration of) H2 database supports only one connection. To run unit tests, connection from browser should be closed.