db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/platforms PlatformOracleImpl.java
Date Wed, 02 Apr 2003 07:45:33 GMT
arminw      2003/04/01 23:45:33

  Modified:    src/java/org/apache/ojb/broker/platforms
                        PlatformOracleImpl.java
  Log:
  patch by chris greenlee:
  ...
  That one ignores an exception thrown if it can't find
  a field in the Oracle jdbc driver to modify; the field is only there in
  the pre-JDK 1.4 version of the driver, and only needs to be modified for
  that driver, so the exception is uninteresting (and expected).
  
  Revision  Changes    Path
  1.12      +6 -2      db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformOracleImpl.java
  
  Index: PlatformOracleImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformOracleImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- PlatformOracleImpl.java	12 Jan 2003 10:03:32 -0000	1.11
  +++ PlatformOracleImpl.java	2 Apr 2003 07:45:33 -0000	1.12
  @@ -54,6 +54,9 @@
    * <http://www.apache.org/>.
    */
   
  +import org.apache.ojb.broker.util.logging.Logger;
  +import org.apache.ojb.broker.util.logging.LoggerFactory;
  +
   import java.io.ByteArrayInputStream;
   import java.lang.reflect.Field;
   import java.security.AccessController;
  @@ -74,6 +77,7 @@
   
   public class PlatformOracleImpl extends PlatformDefaultImpl
   {
  +    private Logger logger = LoggerFactory.getLogger(PlatformOracleImpl.class);
   
       /**
        * In Oracle we set escape processing explizit 'true' after a
  @@ -150,7 +154,7 @@
           }
           catch (Exception e)
           {
  -            e.printStackTrace();
  +            this.logger.info("Not using classes12.zip.");
           }
       }
   
  
  
  

Mime
View raw message