db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer ConnectionFactoryPooledImpl.java ConnectionManager.java
Date Sat, 28 Dec 2002 10:51:33 GMT
brj         2002/12/28 02:51:33

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        ConnectionFactoryPooledImpl.java
                        ConnectionManager.java
  Log:
  removed unused imports
  
  Revision  Changes    Path
  1.3       +10 -11    jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionFactoryPooledImpl.java
  
  Index: ConnectionFactoryPooledImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionFactoryPooledImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ConnectionFactoryPooledImpl.java	24 Dec 2002 13:02:19 -0000	1.2
  +++ ConnectionFactoryPooledImpl.java	28 Dec 2002 10:51:33 -0000	1.3
  @@ -1,22 +1,21 @@
   package org.apache.ojb.broker.accesslayer;
   
  -import org.apache.commons.pool.BasePoolableObjectFactory;
  -import org.apache.commons.pool.ObjectPool;
  -import org.apache.commons.pool.PoolableObjectFactory;
  -import org.apache.commons.pool.impl.GenericObjectPool;
  -import org.apache.ojb.broker.metadata.JdbcConnectionDescriptor;
  -import org.apache.ojb.broker.util.logging.Logger;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
  -import org.apache.ojb.broker.util.logging.LoggingHelper;
  -
   import java.sql.Connection;
  +import java.sql.ResultSet;
   import java.sql.SQLException;
   import java.sql.Statement;
  -import java.sql.ResultSet;
   import java.util.Collection;
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.Map;
  +
  +import org.apache.commons.pool.BasePoolableObjectFactory;
  +import org.apache.commons.pool.ObjectPool;
  +import org.apache.commons.pool.PoolableObjectFactory;
  +import org.apache.commons.pool.impl.GenericObjectPool;
  +import org.apache.ojb.broker.metadata.JdbcConnectionDescriptor;
  +import org.apache.ojb.broker.util.logging.Logger;
  +import org.apache.ojb.broker.util.logging.LoggerFactory;
   
   /**
    * Connection factory which pools the requested
  
  
  
  1.21      +4 -5      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionManager.java
  
  Index: ConnectionManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionManager.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ConnectionManager.java	26 Dec 2002 19:37:06 -0000	1.20
  +++ ConnectionManager.java	28 Dec 2002 10:51:33 -0000	1.21
  @@ -54,6 +54,9 @@
    * <http://www.apache.org/>.
    */
   
  +import java.sql.Connection;
  +import java.sql.SQLException;
  +
   import org.apache.ojb.broker.PBKey;
   import org.apache.ojb.broker.PersistenceBroker;
   import org.apache.ojb.broker.PersistenceBrokerException;
  @@ -63,7 +66,6 @@
   import org.apache.ojb.broker.metadata.JdbcConnectionDescriptor;
   import org.apache.ojb.broker.metadata.MetadataManager;
   import org.apache.ojb.broker.platforms.Platform;
  -import org.apache.ojb.broker.platforms.PlatformConfiguration;
   import org.apache.ojb.broker.platforms.PlatformFactory;
   import org.apache.ojb.broker.util.batch.BatchConnection;
   import org.apache.ojb.broker.util.configuration.Configurable;
  @@ -72,9 +74,6 @@
   import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
  -
  -import java.sql.Connection;
  -import java.sql.SQLException;
   
   /**
    * Manages Connection ressources.
  
  
  

Mime
View raw message