Author: jfuerth
Date: Wed Apr 22 11:46:08 2009
New Revision: 2988

Modified:
   trunk/src/ca/sqlpower/architect/swingui/DataMoverPanel.java

Log:
Tweak to the fix in r2979: now table name matching is done case insensitively (as always), and the target table names are quoted (as fixed in r2979), BUT now the actual target table names are being used rather than the source table names. Up until r2979, there was no practical difference between source and target names; now that they're quoted, there is.

Modified: trunk/src/ca/sqlpower/architect/swingui/DataMoverPanel.java
==============================================================================
--- trunk/src/ca/sqlpower/architect/swingui/DataMoverPanel.java (original)
+++ trunk/src/ca/sqlpower/architect/swingui/DataMoverPanel.java Wed Apr 22 11:46:08 2009
@@ -270,9 +270,9 @@
                     sourceTable.getName(),
                     "\"", "\"");
             final String destQualifiedName = DDLUtils.toQualifiedName(
-                    destCatalogName,
-                    destSchemaName,
-                    destTableName,
+                    destTable.getCatalogName(),
+                    destTable.getSchemaName(),
+                    destTable.getName(),
                     "\"", "\"");

             if (needToCreate) {

Reply via email to