=============
  Migration
Existing Java 8 JPA application using Hibernate 5.2.15 to access a Derby database
=============

Notes:
- JAXB was included in the platform at that time.
- None of the "new rules" were in place yet.
- No deprecated items had been physically removed yet.

TODO: note the contents of the classes, dist, and lib directories.
TODO: you can *briefly* look over the source code, which simply retrieves a MusicItem by id from the 
database and prints it to stdout.  We will make *no* changes to this source during the migration.

This code was built with a JDK 8 compiler and runs fine on Java 8.
We have provided build and run scripts for reference only, there is *no need to run them*.

The application is launched via standard Java 8 syntax, with our application JAR and 
all the library JARs on the classpath (of course).  It's in the run.cmd/run.sh script, 
and we illustrate one below.

$ java -classpath dist\javatunes-db-test.jar;lib\* com.javatunes.db.test.JpaConnectionTest

Unix NOTE: Our examples use Windows-style paths.  If you're on *nix, then replace \ with / and ; with :
Unix NOTE: lib/* has to be in quotes for the classpath
$ java -classpath dist/javatunes-db-test.jar:"lib/*" com.javatunes.db.test.JpaConnectionTest


NOTE: no need to run this, it won't work on Java 11 anyway.

END: close this file and proceed to Migration Level 0, in the Migration_0 directory.