Latest commit 26ae174 Jan 16, 2014 @j256 Readability on git.
Permalink
..
Failed to load latest commit information.
Account.java
ForeignMain.java
Order.java
README.txt

README.txt

This shows how to persist a Order class which has a foreign Account object as one of its fields.

ORMLite supports what it calls "foreign" objects.  These are fields that are other objects
stored in the database.  For example, if you have Account and Order objects in your database,
the Order objects may have an associated Account so would have an foreign Account field.  See
the documentation for more information:

	http://ormlite.com/docs/foreign

You may also want to learn about Foreign Collections which use foreign fields:

	http://ormlite.com/docs/foreign-collection

Also, the many-to-many example also foreign objects in combination with a join table.

	http://ormlite.com/docs/example-many

This example depends on the H2 database which is a native Java SQL implementation.  You can
download the latest jar from the website:

    http://www.h2database.com/html/download.html

For more examples see: http://ormlite.com/docs/examples