result set

This commit is contained in:
jackdaw@loafle.com 2017-04-25 17:37:48 +09:00
parent 18a7addc36
commit b05d957ae2

View File

@ -88,7 +88,8 @@ 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;
metric = metric.replace(k,data.get(this.meta.get(arrayColumns.get(i)))); String replaceString = data.get(this.meta.get(arrayColumns.get(i)));
metric = metric.replace(k,"'" + replaceString + "'");
} }
return metric; return metric;