summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxwu2013-03-22 05:33:03 (EDT)
committerlzhu2013-03-22 05:33:03 (EDT)
commit216c4296f9dc327484a835453c35a2a69c880e5c (patch)
tree8d0d8d23df4ce2eef8b439a04a054a7bd477d9f3
parent51692f28b3abaf5a49b0f0b3ebc3c7af899d06ec (diff)
downloadorg.eclipse.datatools.enablement.oda-216c4296f9dc327484a835453c35a2a69c880e5c.zip
org.eclipse.datatools.enablement.oda-216c4296f9dc327484a835453c35a2a69c880e5c.tar.gz
org.eclipse.datatools.enablement.oda-216c4296f9dc327484a835453c35a2a69c880e5c.tar.bz2
CheckIn: Fix an issue - Data set column type do not updated whenv201303221733
datasource changed in Flat file datasource.
-rw-r--r--plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/FlatFileQuery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/FlatFileQuery.java b/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/FlatFileQuery.java
index 38faa88..5be383b 100644
--- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/FlatFileQuery.java
+++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/FlatFileQuery.java
@@ -901,7 +901,7 @@ public class FlatFileQuery implements IQuery
queryColumnNames = FlatFileDataReader.getStringArrayFromList( stripFormatInfoFromQueryColumnNames( getQueryColumnNamesVector( ( getPreparedColumnNames( queryFragments ) ) ) ) );
validateColumnName( queryColumnNames, allColumnNames);
if ( savedSelectedColInfo == null
- || savedSelectedColInfo.length( ) == 0 )
+ || savedSelectedColInfo.length( ) == 0 || hasTypeLine )
{
queryColumnTypes = this.hasTypeLine
? getQueryColumnTypes( allColumnNames,