From 8107dfbfa080dafb2dc0fcb06c5096d237334b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Thu, 16 Aug 2018 06:51:36 +0000 Subject: [PATCH] [OPENJPA-1993] Backport the fix to trunk git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838154 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;