db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r382581 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdModelReader.java
Date Fri, 03 Mar 2006 00:07:42 GMT
Author: tomdz
Date: Thu Mar  2 16:07:41 2006
New Revision: 382581

URL: http://svn.apache.org/viewcvs?rev=382581&view=rev
Log:
Added ability to override the column name pattern for model readers (for use when calling
the DatabaseMetaData#getColumns method)

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

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdModelReader.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdModelReader.java?rev=382581&r1=382580&r2=382581&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdModelReader.java
(original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdModelReader.java
Thu Mar  2 16:07:41 2006
@@ -89,7 +89,7 @@
         		// Jaybird has a problem when delimited identifiers are used as
         		// it is not able to find the columns for the table
         		// So we have to filter manually below
-        		columnData = metaData.getColumns(getDefaultTablePattern(), null);
+        		columnData = metaData.getColumns(getDefaultTablePattern(), getDefaultColumnPattern());
 
         		while (columnData.next())
                 {
@@ -103,7 +103,7 @@
         	}
         	else
         	{
-        		columnData = metaData.getColumns(tableName, null);
+        		columnData = metaData.getColumns(tableName, getDefaultColumnPattern());
 
         		while (columnData.next())
                 {



Mime
View raw message