db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r386766 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/platforms/PlatformOracle9iImpl.java
Date Fri, 17 Mar 2006 23:32:25 GMT
Author: arminw
Date: Fri Mar 17 15:32:23 2006
New Revision: 386766

URL: http://svn.apache.org/viewcvs?rev=386766&view=rev
Log:
fix NPE

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/platforms/PlatformOracle9iImpl.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/platforms/PlatformOracle9iImpl.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/platforms/PlatformOracle9iImpl.java?rev=386766&r1=386765&r2=386766&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/platforms/PlatformOracle9iImpl.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/platforms/PlatformOracle9iImpl.java
Fri Mar 17 15:32:23 2006
@@ -126,7 +126,7 @@
     /**
      * Helper to unwrap connections and statements.
      */
-    protected UnwrapHelper unwrapHelper = new UnwrapHelper();
+    protected UnwrapHelper unwrapHelper;
 
 
     /**
@@ -492,6 +492,7 @@
             */
             Object[] oracleUnwrapPattern = new Object[] {"oracle 10g", UnwrapHelper.TYPE_METHOD,
                     new Class[]{ORA_CONN_CLASS}, "unwrapCompletely", null, null, null};
+            unwrapHelper = new UnwrapHelper();
             // add the oracle unwrap pattern
             unwrapHelper.addUnwrapPattern(oracleUnwrapPattern);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message