Skip to content

Commit

Permalink
to the object array the same size as the original value array.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Aug 27, 2010
1 parent 46d75f1 commit 23bb638
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -1062,7 +1062,6 @@ public Object[] getObjectValues(BinaryEncoding encoding, String[] values,
String value = values[i];
Object objectValue = value;
Column column = orderedMetaData[i];

try {
if (column != null) {
int type = column.getTypeCode();
Expand Down Expand Up @@ -1106,9 +1105,9 @@ public Object[] getObjectValues(BinaryEncoding encoding, String[] values,
} else if (type == Types.TIME) {
objectValue = new Time(getTime(value, TIME_PATTERNS));
}
}
list.add(objectValue);
}
}
list.add(objectValue);
} catch (Exception ex) {
logger.error("DbDialectTroubleConvertingColumnValue", value, column.getName(),
column.getType());
Expand Down

0 comments on commit 23bb638

Please sign in to comment.