From c3ad06e8ff12a3f1836114695adfb8c4f9ddeaa7 Mon Sep 17 00:00:00 2001 From: Albert Lee Date: Mon, 3 Mar 2008 22:40:13 +0000 Subject: [PATCH] Change _state and JDBCConfigurationState from private to protect enabling JDBCFechConfigurationImpl subclass to propagate correct state information in subclass's newInstance() method call. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633310 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java index 2be0dd3ef..963a5aeb3 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java @@ -61,7 +61,7 @@ public class JDBCFetchConfigurationImpl /** * Configurable JDBC state shared throughout a traversal chain. */ - private static class JDBCConfigurationState implements Serializable { + protected static class JDBCConfigurationState implements Serializable { public int eagerMode = 0; public int subclassMode = 0; public int type = 0; @@ -72,7 +72,7 @@ public class JDBCFetchConfigurationImpl public int isolationLevel = -1; } - private final JDBCConfigurationState _state; + protected final JDBCConfigurationState _state; public JDBCFetchConfigurationImpl() { this(null, null);