fixes wrong mapping of column's names when aliases are used
refs
@@ -105,7 +105,7 @@ public class OETLJDBCExtractor extends OETLAbstractExtractor {
columnTypes = new ArrayList<OType>(rsColumns);
for (int i = 1; i <= rsColumns; ++i) {
- final String colName = rs.getMetaData().getColumnName(i);
+ final String colName = rs.getMetaData().getColumnLabel(i);
columnNames.add(colName);
OType type = OType.ANY;
