git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@85366 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
81131b4369
commit
1708eaca43
|
@ -174,7 +174,9 @@ public class DatabaseUtils {
|
||||||
String[] row = values.get(i);
|
String[] row = values.get(i);
|
||||||
sb.append("(");
|
sb.append("(");
|
||||||
for (int j=0;j<row.length;j++){
|
for (int j=0;j<row.length;j++){
|
||||||
sb.append("'"+row[j].replaceAll("^'", "").replaceAll("'$", "")+"'");
|
String preprow = row[j].replaceAll("^'", "").replaceAll("'$", "");
|
||||||
|
preprow=preprow.replace("'", ""+(char)96);
|
||||||
|
sb.append("'"+preprow+"'");
|
||||||
if (j<row.length-1)
|
if (j<row.length-1)
|
||||||
sb.append(",");
|
sb.append(",");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue