craigmcc    01/01/31 14:36:56

  Modified:    src/share/org/apache/struts/util GenericConnection.java
  Log:
  Add one more exception catch for one more JDBC driver that doesn't implement
  everything.
  
  Submitted by:  Matthias Bauer <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.7       +6 -4      
jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java
  
  Index: GenericConnection.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- GenericConnection.java    2001/01/31 21:45:13     1.6
  +++ GenericConnection.java    2001/01/31 22:36:54     1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java,v 1.6 
2001/01/31 21:45:13 craigmcc Exp $
  - * $Revision: 1.6 $
  - * $Date: 2001/01/31 21:45:13 $
  + * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java,v 1.7 
2001/01/31 22:36:54 craigmcc Exp $
  + * $Revision: 1.7 $
  + * $Date: 2001/01/31 22:36:54 $
    *
    * ====================================================================
    *
  @@ -82,7 +82,7 @@
    *
    * @author Craig R. McClanahan
    * @author Ted Husted
  - * @version $Revision: 1.6 $ $Date: 2001/01/31 21:45:13 $
  + * @version $Revision: 1.7 $ $Date: 2001/01/31 22:36:54 $
   
    */
   
  @@ -120,6 +120,8 @@
               ;   // PostgreSQL throws a "not yet implemented" exception
           } catch (UnsupportedOperationException e) {
               ;   // JDBC-ODBC bridge throws this
  +        } catch (AbstractMethodError e) {
  +            ;   // mm.mysql throws this
           }
        this.readOnly = readOnly;
           this.conn.setAutoCommit(this.autoCommit);
  
  
  

Reply via email to