Hello Two Dbs
- Adding a second database requires only adding another persistence unit to persistence.xml
- Developing a pure Java database implementation and then porting it to Android is not only doable with Classy Data, it's desirable
- Classy Data provides flexibility in how to deal with database creation and upgrade events, but simple cases require minimal effort
Java
Android Hello Two Dbs
Each version of the application is contained in a separate Android Maven project, nested under the example parent project. Version 1 project is in folder hello-two-dbs.

Note that the persistence.xml is now in a v1 sub-folder of assets, but is identical to the one in the Java version.
There is also a Robolectric HelloTwoDbsTest class which runs the same database tasks as the application. It is recommended when porting from Java to test with Robolectric first to check the Android Dependency Injection configuration.

