setEnforcePropertyRestrictions(boolean fail)
Set whether to fail if the persistent type uses property access and
bytecode analysis shows that it may be violating OpenJPA's property
access restrictions.

void

setTmpClassLoader(boolean tmpClassLoader)
Set whether or not to use a default class loader for loading
the unenhanced classes.