db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql SqlQueryStatement.java
Date Thu, 03 Nov 2005 19:59:51 GMT
brj         2005/11/03 11:59:51

  Modified:    src/java/org/apache/ojb/broker/accesslayer/sql Tag:
                        OJB_1_0_RELEASE SqlQueryStatement.java
  Log:
  fixed sequence of tables
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.75.2.14 +3 -4      db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlQueryStatement.java
  
  Index: SqlQueryStatement.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlQueryStatement.java,v
  retrieving revision 1.75.2.13
  retrieving revision 1.75.2.14
  diff -u -r1.75.2.13 -r1.75.2.14
  --- SqlQueryStatement.java	2 Nov 2005 21:23:32 -0000	1.75.2.13
  +++ SqlQueryStatement.java	3 Nov 2005 19:59:51 -0000	1.75.2.14
  @@ -1502,15 +1502,14 @@
   
           if (alias == getRoot())
           {
  -            buf.append(alias.getTableAndAlias());
  -
               // BRJ: also add indirection table to FROM-clause for MtoNQuery 
               if (getQuery() instanceof MtoNQuery)
               {
                   MtoNQuery mnQuery = (MtoNQuery)m_query; 
  -                buf.append(", ");
                   buf.append(getTableAliasForPath(mnQuery.getIndirectionTable()).getTableAndAlias());
  +                buf.append(", ");
               }           
  +            buf.append(alias.getTableAndAlias());
           }
           else if (joinSyntax != SQL92_NOPAREN_JOIN_SYNTAX)
           {
  
  
  

---------------------------------------------------------------------
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