addDefaultConstructor

protected boolean addDefaultConstructor

The JPA spec requires that all persistent classes define a no-arg constructor.
This flag tells the enhancer whether to add a protected no-arg constructor
to any persistent classes that don't already have one.

enforcePropertyRestrictions

protected boolean enforcePropertyRestrictions

Whether to throw an exception when it appears that a property access entity
is not obeying the restrictions placed on property access.

tmpClassLoader

protected boolean tmpClassLoader

Tell the PCEnhancer to use a temporary classloader for enhancement.
If you enable this feature, then no depending artifacts from the classpath will be used!
Please note that you have to disable the tmpClassLoader for some cases in OpenJPA-1.2.1
due to an extended parsing strategy.