commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter PoolablePreparedStatementStub.java PooledConnectionImpl.java
Date Fri, 26 Dec 2003 15:48:40 GMT
dirkv       2003/12/26 07:48:40

  Modified:    dbcp/src/java/org/apache/commons/dbcp/cpdsadapter
                        PoolablePreparedStatementStub.java
                        PooledConnectionImpl.java
  Log:
  allow exceptions to be thrown from activate (like it is allowed from passivate)
  
  Revision  Changes    Path
  1.6       +4 -4      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/PoolablePreparedStatementStub.java
  
  Index: PoolablePreparedStatementStub.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/PoolablePreparedStatementStub.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PoolablePreparedStatementStub.java	9 Oct 2003 21:03:35 -0000	1.5
  +++ PoolablePreparedStatementStub.java	26 Dec 2003 15:48:40 -0000	1.6
  @@ -89,7 +89,7 @@
           super(stmt, key, pool, conn);
       }
   
  -    protected void activate() {
  +    protected void activate() throws SQLException {
           super.activate();
       }
   
  
  
  
  1.12      +4 -4      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/PooledConnectionImpl.java
  
  Index: PooledConnectionImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/PooledConnectionImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- PooledConnectionImpl.java	10 Nov 2003 14:45:35 -0000	1.11
  +++ PooledConnectionImpl.java	26 Dec 2003 15:48:40 -0000	1.12
  @@ -353,7 +353,7 @@
        * @param key ignored
        * @param obj ignored
        */
  -    public void activateObject(Object key, Object obj) {
  +    public void activateObject(Object key, Object obj) throws Exception {
           ((PoolablePreparedStatementStub) obj).activate();
       }
   
  
  
  

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


Mime
View raw message