db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r498872 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
Date Tue, 23 Jan 2007 00:38:04 GMT
Author: djd
Date: Mon Jan 22 16:38:02 2007
New Revision: 498872

URL: http://svn.apache.org/viewvc?view=rev&rev=498872
Log:
DERBY-2243 Modifying the return type for methods like
- supportsANSI92EntryLevelSQL()
- supportsExpressionsInOrderBy()
  in EmbedDatabaseMetaData.java to return TRUE as Derby does support these features
Thus now the behavior is consistent across drivers. 
(forgot this file as part of revision 498732)
Contributed by Saurabh Vyas

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java?view=diff&rev=498872&r1=498871&r2=498872
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
Mon Jan 22 16:38:02 2007
@@ -613,7 +613,11 @@
      * @return true if so
      */
 	public boolean supportsExpressionsInOrderBy() {
-		return false;
+		/* DERBY - 2244 : Derby does support Order By Expression (Derby-134)
+		* thus changing the return value to true to relfect that the support
+		* is present
+		*/
+		return true;
 	}
 
     /**
@@ -731,7 +735,11 @@
      * @return true if so
      */
 	public boolean supportsANSI92EntryLevelSQL() {
-		return false;
+		/* DERBY - 2243 : Derby does support ANSI 92 standards,
+		* thus changing the return value to true to relfect that the support
+		* is present
+		*/
+		return true;
 	}
 
     /**



Mime
View raw message