org.datanucleus.enhancer.overview.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datanucleus-enhancer Show documentation
Show all versions of datanucleus-enhancer Show documentation
DataNucleus Enhancer is a Java byte-code enhancer for use with DataNucleus.
The newest version!
DataNucleus runtime operates on classes that implement the PersistenceCapable interface.
To achieve this in a convenient way DataNucleus provides a byte-code enhancer to add in the necessary
PersistenceCapable methods. DataNucleus's enhancer relies on DataNucleus Core providing the MetaData
definition handling capabilities for the classes to be enhanced. To enhance each class, the enhancer
requires a "ClassEnhancer". We currently provides 1 ClassEnhancer.
- A ClassEnhancer using the ASM library. This is much faster and more lightweight than the original BCEL
variant and has better support for JDK1.5+ features.
This is stored in packages under org.datanucleus.enhancer.asm
There was an original ClassEnhancer (present in DataNucleus AccessPlatform 1.0, using BCEL) but this was
dropped during the 1.1 release cycle.
Support for this persistence layer is provided by way of a
Free Forum (no guarantee of availability) or via
Commercial Support from DataNucleus.