result set

This commit is contained in:
jackdaw@loafle.com 2017-04-25 17:42:54 +09:00
parent d25a2ee843
commit ed29ad0ef1

View File

@ -88,7 +88,7 @@ public class OFResultSetRow extends OFResultSet{
for (int i =0 ; i< arrayColumns.size() ; ++i) { for (int i =0 ; i< arrayColumns.size() ; ++i) {
// replace // replace
String k = "$" + i; String k = "$" + i;
int dataIndex = this.meta.get(arrayColumns.get(i); int dataIndex = this.meta.get(arrayColumns.get(i));
String replaceString = data.get(dataIndex); String replaceString = data.get(dataIndex);
metric = metric.replace(k,"'" + replaceString + "'"); metric = metric.replace(k,"'" + replaceString + "'");
} }