EnkiTransientPackage

From Eigenpedia

Jump to: navigation, search

Packages may be marked as "transient" in the Enki/Hibernate code generator.

Restrictions

The classes, associations, etc. contained within a transient package are implemented without Hibernate database storage. Transient packages are assumed not to derive from persisted classes and are assumed not to participate in associations that cross the persistent/transient package boundary.

Note that transient packages are largely untested and may not behave as desired. The Farrago project currently provides a transient implementation for its Fennel package by using proxy classes. It may eventually move to using Enki's transient implementation.

Tag

Packages are marked as transient by applying a MOF tag with identifier "org.eigenbase.enki.transientPackage" and any non-empty, non-null value.