Classy Data

Upgrade with both SQL and JPA

Android Hello Two Dbs v2

Version 2 project is in folder hello-two-dbs-v2 under parent example.
android_hello_v2_dbs

Note that are downgrade scripts in the v1 folder for changing the database version from 2 to 1. The use of the word "upgrade" in the downgrade script name may be confusing, but it is expected that downgrading will only be used in testing.

You can run through an upgrade on an actual device or emulator by installing and running AndroidHelloTwoDbs v1 followed by v2.

Java

Classy Data hello-two-dbs-example Java project contains version 2. of the application in package au.com.cybersearch2.example.v2 and associated resources are in src/test/resources project folder. There is also a JUnit databse upgrade test in HelloTwoDbsUpgradeTest class.

hello_2_dbs_v2