diff --git a/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java b/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java index 176ec52cd..f54568130 100644 --- a/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java +++ b/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java @@ -110,7 +110,7 @@ public abstract class XMLMetaDataParser extends DefaultHandler private boolean _parsing = false; - private boolean _overrideContextClassloader = false; + private boolean _overrideContextClassloader = true; public boolean getOverrideContextClassloader() { return _overrideContextClassloader;