예제 #1
0
 static OleDbCommand()
 {
     try {
         java.lang.Class OracleTypesClass = java.lang.Class.forName("oracle.jdbc.OracleTypes");
         _oracleRefCursor = OracleTypesClass.getField("CURSOR").getInt(null);
     }
     catch (java.lang.ClassNotFoundException e) {
         // oracle driver is not in classpath - just continue
     }
 }