Skip to content

Commit

Permalink
fixes wrong mapping of column's names when aliases are used
Browse files Browse the repository at this point in the history
refs #7307
  • Loading branch information
robfrank committed Apr 7, 2017
1 parent 73dfcfa commit ef3abbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void begin(ODatabaseDocument db) {
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;
Expand Down

0 comments on commit ef3abbd

Please sign in to comment.