openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r633310 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
Date Mon, 03 Mar 2008 22:40:16 GMT
Author: allee8285
Date: Mon Mar  3 14:40:13 2008
New Revision: 633310

URL: http://svn.apache.org/viewvc?rev=633310&view=rev
Log:
Change _state and JDBCConfigurationState from private to protect enabling JDBCFechConfigurationImpl
subclass to propagate correct state information in subclass's newInstance() method call.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java?rev=633310&r1=633309&r2=633310&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
Mon Mar  3 14:40:13 2008
@@ -61,7 +61,7 @@
     /**
      * 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 int isolationLevel = -1;
     }
 
-    private final JDBCConfigurationState _state;
+    protected final JDBCConfigurationState _state;
 
     public JDBCFetchConfigurationImpl() {
         this(null, null);



Mime
View raw message