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 SqlBasedRsIterator.java StatementsForClassImpl.java CollectionPrefetcher.java SQLCachingStatementsForClass.java StatementManager.java
Date Sat, 28 Dec 2002 10:54:10 GMT
brj         2002/12/28 02:54:10

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        SqlBasedRsIterator.java StatementsForClassImpl.java
                        CollectionPrefetcher.java
                        SQLCachingStatementsForClass.java
                        StatementManager.java
  Log:
  removed unused imports
  
  Revision  Changes    Path
  1.9       +1 -2      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedRsIterator.java
  
  Index: SqlBasedRsIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedRsIterator.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SqlBasedRsIterator.java	24 Dec 2002 13:02:19 -0000	1.8
  +++ SqlBasedRsIterator.java	28 Dec 2002 10:54:09 -0000	1.9
  @@ -59,7 +59,6 @@
   
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.singlevm.PersistenceBrokerImpl;
   
  
  
  
  1.10      +6 -7      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementsForClassImpl.java
  
  Index: StatementsForClassImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementsForClassImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- StatementsForClassImpl.java	24 Dec 2002 13:02:19 -0000	1.9
  +++ StatementsForClassImpl.java	28 Dec 2002 10:54:09 -0000	1.10
  @@ -54,7 +54,12 @@
    * <http://www.apache.org/>.
    */
   
  -import org.apache.ojb.broker.PersistenceBrokerException;
  +import java.sql.Connection;
  +import java.sql.PreparedStatement;
  +import java.sql.ResultSet;
  +import java.sql.SQLException;
  +import java.sql.Statement;
  +
   import org.apache.ojb.broker.PersistenceBrokerSQLException;
   import org.apache.ojb.broker.accesslayer.sql.SqlGenerator;
   import org.apache.ojb.broker.accesslayer.sql.SqlGeneratorFactory;
  @@ -66,12 +71,6 @@
   import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
  -
  -import java.sql.Connection;
  -import java.sql.PreparedStatement;
  -import java.sql.ResultSet;
  -import java.sql.SQLException;
  -import java.sql.Statement;
   
   /**
    * This class serves as a cache for Statements that are
  
  
  
  1.6       +1 -2      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/CollectionPrefetcher.java
  
  Index: CollectionPrefetcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/CollectionPrefetcher.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CollectionPrefetcher.java	24 Dec 2002 13:02:19 -0000	1.5
  +++ CollectionPrefetcher.java	28 Dec 2002 10:54:09 -0000	1.6
  @@ -61,7 +61,6 @@
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.PersistenceBroker;
   import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.util.BrokerHelper;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.CollectionDescriptor;
   import org.apache.ojb.broker.metadata.FieldDescriptor;
  
  
  
  1.8       +6 -7      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/SQLCachingStatementsForClass.java
  
  Index: SQLCachingStatementsForClass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/SQLCachingStatementsForClass.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SQLCachingStatementsForClass.java	24 Dec 2002 13:02:19 -0000	1.7
  +++ SQLCachingStatementsForClass.java	28 Dec 2002 10:54:09 -0000	1.8
  @@ -54,17 +54,16 @@
    * <http://www.apache.org/>.
    */
   
  -import org.apache.ojb.broker.PersistenceBroker;
  +import java.sql.Connection;
  +import java.sql.PreparedStatement;
  +import java.sql.SQLException;
  +
   import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.JdbcConnectionDescriptor;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
  +import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.util.logging.Logger;
  -
  -import java.sql.Connection;
  -import java.sql.PreparedStatement;
  -import java.sql.SQLException;
  +import org.apache.ojb.broker.util.logging.LoggerFactory;
   
   public class SQLCachingStatementsForClass extends StatementsForClassImpl
   {
  
  
  
  1.16      +12 -14    jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManager.java
  
  Index: StatementManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManager.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- StatementManager.java	24 Dec 2002 13:02:19 -0000	1.15
  +++ StatementManager.java	28 Dec 2002 10:54:09 -0000	1.16
  @@ -54,13 +54,23 @@
    * <http://www.apache.org/>.
    */
   
  +import java.sql.PreparedStatement;
  +import java.sql.ResultSet;
  +import java.sql.SQLException;
  +import java.sql.Statement;
  +import java.sql.Types;
  +import java.util.Collection;
  +import java.util.Enumeration;
  +import java.util.Iterator;
  +import java.util.Map;
  +import java.util.WeakHashMap;
  +
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.PersistenceBroker;
   import org.apache.ojb.broker.PersistenceBrokerException;
   import org.apache.ojb.broker.PersistenceBrokerSQLException;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.FieldDescriptor;
  -import org.apache.ojb.broker.metadata.JdbcConnectionDescriptor;
   import org.apache.ojb.broker.metadata.fieldaccess.PersistentField;
   import org.apache.ojb.broker.platforms.Platform;
   import org.apache.ojb.broker.platforms.PlatformException;
  @@ -75,20 +85,8 @@
   import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.query.SelectionCriteria;
   import org.apache.ojb.broker.query.SqlCriteria;
  -import org.apache.ojb.broker.util.BrokerHelper;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
  -
  -import java.sql.PreparedStatement;
  -import java.sql.ResultSet;
  -import java.sql.SQLException;
  -import java.sql.Statement;
  -import java.sql.Types;
  -import java.util.Collection;
  -import java.util.Enumeration;
  -import java.util.Iterator;
  -import java.util.Map;
  -import java.util.WeakHashMap;
   
   /**
    * manages JDBC Connection and Statement ressources.
  
  
  

Mime
View raw message