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/accesslayer/sql SqlGenerator.java SqlGeneratorDefaultImpl.java
Date Sat, 08 Oct 2005 16:00:34 GMT
arminw      2005/10/08 09:00:34

  Modified:    src/java/org/apache/ojb/broker/accesslayer/sql
                        SqlGenerator.java SqlGeneratorDefaultImpl.java
  Log:
  remove unused method
  
  Revision  Changes    Path
  1.17      +1 -10     db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlGenerator.java
  
  Index: SqlGenerator.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlGenerator.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- SqlGenerator.java	3 Oct 2005 17:35:24 -0000	1.16
  +++ SqlGenerator.java	8 Oct 2005 16:00:33 -0000	1.17
  @@ -59,15 +59,6 @@
       public SelectStatement getPreparedSelectStatement(Query query, ClassDescriptor cld);
   
       /**
  -     * Generate a select-Statement according to query
  -     *
  -     * @param query The query to perform.
  -     * @param cld The {@link org.apache.ojb.broker.metadata.ClassDescriptor} of the target
class or object.
  -     * @return Representation class of the sql statement.
  -     */
  -    public SelectStatement getSelectStatementDep(Query query, ClassDescriptor cld);
  -
  -    /**
        * Generate a select pk-columns only statement according to query.
        *
        * @param query The query to perform.
  
  
  
  1.38      +2 -13     db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlGeneratorDefaultImpl.java
  
  Index: SqlGeneratorDefaultImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlGeneratorDefaultImpl.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- SqlGeneratorDefaultImpl.java	8 Oct 2005 12:07:33 -0000	1.37
  +++ SqlGeneratorDefaultImpl.java	8 Oct 2005 16:00:33 -0000	1.38
  @@ -57,7 +57,7 @@
       (key=cld of map have to be a weak reference and the metadata used in the SqlStatement
classes too,
       because inner class SqlForClass indirectly refer the key=cld in some cases and SqlStatement
       implementation classes have references to metadata classes too).
  -    
  +
       Field changes are not reflected in this implementation!
       */
       /** Cache for {@link SqlForClass} instances, keyed per class descriptor. */
  @@ -386,17 +386,6 @@
       }
   
       /**
  -     * generate a select-Statement according to query
  -     *
  -     * @param query the Query
  -     * @param cld the ClassDescriptor
  -     */
  -    public SelectStatement getSelectStatementDep(Query query, ClassDescriptor cld)
  -    {
  -        return new SqlSelectStatement(m_platform, m_logger, cld, query);
  -    }
  -
  -    /**
        * @param crit Selection criteria
        *
        * 26/06/99 Change statement to a StringBuffer for efficiency
  
  
  

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


Mime
View raw message