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 Mon, 07 Apr 2003 16:41:50 GMT
brj         2003/04/07 09:41:50

  Modified:    src/java/org/apache/ojb/broker/accesslayer/sql
                        SqlQueryStatement.java
  Log:
  do not use alias for *
  
  Revision  Changes    Path
  1.33      +2 -3      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.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- SqlQueryStatement.java	6 Apr 2003 19:27:55 -0000	1.32
  +++ SqlQueryStatement.java	7 Apr 2003 16:41:50 -0000	1.33
  @@ -199,7 +199,6 @@
        * if translate try to convert attribute name into column name otherwise use attribute
name<br>
        * if a FieldDescriptor is found for the attribute name the column name is taken from
        * there prefixed with the alias (firstname -> A0.F_NAME). 
  -     * '*' is also returned as 'alias.*' .  
        * 
        * @param aTableAlias
        * @param aPathInfo
  @@ -223,7 +222,7 @@
   			}
               else if ("*".equals(aPathInfo.column))
               {
  -                result = aTableAlias.alias + "." + aPathInfo.column;
  +                result = aPathInfo.column;
               }
               else
               {
  
  
  

Mime
View raw message