This package contains simple examples to aid in getting started with using JDO.
Each example can be run standalone and demonstrates a particular concept.
The examples use the persistence capable classes defined in the
{@link com.corejdo.examples.model model} package.
The examples should be viewed and run in the following logical order:
- {@link com.corejdo.examples.chapter3.MakeConnectionExample MakeConnectionExample}
- {@link com.corejdo.examples.chapter3.CreateExample CreateExample}
- {@link com.corejdo.examples.chapter3.ReadByNavigationExample ReadByNavigationExample}
- {@link com.corejdo.examples.chapter3.ReadByExtentExample ReadByExtentExample}
- {@link com.corejdo.examples.chapter3.ReadByQueryExample ReadByQueryExample}
- {@link com.corejdo.examples.chapter3.UpdateExample UpdateExample}
- {@link com.corejdo.examples.chapter3.UpdateWithRollbackExample UpdateWithRollbackExample}
- {@link com.corejdo.examples.chapter3.DeleteExample DeleteExample}
- {@link com.corejdo.examples.chapter3.DeleteWithRollbackExample DeleteWithRollbackExample}
The following examples demonstrate more advanced concepts:
- {@link com.corejdo.examples.chapter3.MakeConnectionFromFileExample MakeConnectionFromFileExample}
- {@link com.corejdo.examples.chapter3.MakeConnectionFromSystemPropertiesExample MakeConnectionFromSystemPropertiesExample}
- {@link com.corejdo.examples.chapter3.CreateWithReachabilityExample CreateWithReachabilityExample}
- {@link com.corejdo.examples.chapter3.CreateWithExceptionsExample CreateWithExceptionsExample}
- {@link com.corejdo.examples.chapter3.ObjectIdentityExample ObjectIdentityExample}
- {@link com.corejdo.examples.chapter3.UniquingExample UniquingExample}