3.3.1.65. openjpa.RuntimeUnenhancedClasses
Property name: openjpa.RuntimeUnenhancedClasses
Configuration API: org.apache.openjpa.conf.OpenJPAConfiguration.getRuntimeUnenhancedClasses
Resource adaptor config property: RuntimeUnenhancedClasses
Default: unsupported
Possible values:supported, unsupported, warn
Description: The RuntimeUnenhancedClasses property controls how OpenJPA handles classes that have not been enhanced by the PCEnhancer tool or automatically by a javaagent.
If RuntimeUnenhancedClasses is set to supported OpenJPA will automatically create subclasses for unenhanced entity classes.
If set to unsupported OpenJPA will not create subclasses for unenhanced entity classes and will throw an exception when they are detected.
If set to warn OpenJPA will not create subclasses for unenhanced entity classes but will log a warning message.
This function is often useful for rapid prototyping but is not generally recommended for use in production. Please consult the reference guide before changing the default value.
See the reference guide section on unenhanced types for more information Omitting the OpenJPA enhancer