db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject bug 5716 ..about Compatibility with DB2?
Date Mon, 21 Feb 2005 12:18:53 GMT
Hello.

I'm trying to enable using expression in order clause.
In the task , I found next code with some comment.

//bug 5716 - for db2 compatibility - no qualified names allowed in order by 
clause when union/union all operator is used

  if (target instanceof SetOperatorNode && correlationName != null)
  {
   String fullName = (schemaName != null) ?
    (schemaName + "." + correlationName + "." + columnName) :
    (correlationName + "." + columnName);
   throw 
StandardException.newException(SQLState.LANG_QUALIFIED_COLUMN_NAME_NOT_ALLOWED, 
fullName);
  }

Does anyone know anything about this ?
If possible, I want to ommit this code.....

Best regards.

/*

         Tomohito Nakayama
         tomoihto@rose.zero.ad.jp
         tomonaka@basil.ocn.ne.jp

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/ 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2005/02/21


Mime
View raw message