Runtime

The runtime module provides an implementation of Naked Objects' ObjectStore API, using Hibernate to persist domain objects to an RDBMS.

The domain objects to be persisted must be annotated using JPA annotations. Some Hibernate annotations are also supported. The set of objects that make up the domain model are defined by walking the graph from the initial repositories (defined in nakedobjects.properties).

When using JPA Objects we configure Naked Objects to use this object store using the property:

+-----------------------------------------------------------------------------------------------+ nakedobjects.persistor=org.starobjects.jpa.runtime.persistence.JpaPersistenceMechanismInstaller +-----------------------------------------------------------------------------------------------+

This is typically done by adding the property in nakedobjects.properties file.

See the user guide for more details.