db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r330875 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/DatabaseMetaDataWrapper.java
Date Fri, 04 Nov 2005 19:44:58 GMT
Author: tomdz
Date: Fri Nov  4 11:44:55 2005
New Revision: 330875

URL: http://svn.apache.org/viewcvs?rev=330875&view=rev
Log:
Fix for DDLUTILS-42 as supplied by Thorbjørn Ravn Andersen

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/DatabaseMetaDataWrapper.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/DatabaseMetaDataWrapper.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/DatabaseMetaDataWrapper.java?rev=330875&r1=330874&r2=330875&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/DatabaseMetaDataWrapper.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/DatabaseMetaDataWrapper.java Fri
Nov  4 11:44:55 2005
@@ -187,6 +187,6 @@
      */
     public ResultSet getIndices(String tableNamePattern, boolean unique, boolean approximate)
throws SQLException
     {
-        return getMetaData().getImportedKeys(getCatalog(), getSchemaPattern(), tableNamePattern);
+        return getMetaData().getIndexInfo(getCatalog(), getSchemaPattern(), tableNamePattern,
unique, approximate);
     }
 }



Mime
View raw message