diff --git a/src/org/redkale/source/DataDefaultSource.java b/src/org/redkale/source/DataDefaultSource.java index e19559b5f..62e11e30f 100644 --- a/src/org/redkale/source/DataDefaultSource.java +++ b/src/org/redkale/source/DataDefaultSource.java @@ -18,24 +18,6 @@ import javax.annotation.Resource; import javax.sql.ConnectionPoolDataSource; import javax.xml.stream.*; import org.redkale.util.*; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; -import static org.redkale.source.FilterNode.formatToString; /** * @@ -419,7 +401,7 @@ public final class DataDefaultSource implements DataSource, Function attr : attrs) { Object a = attr.get(value); - ps[i] = formatToString(a); + ps[i] = FilterNode.formatToString(a); prestmt.setObject(++i, a); } prestmt.addBatch(); @@ -466,7 +448,7 @@ public final class DataDefaultSource implements DataSource, Function 0) setsql.append(", "); - setsql.append(info.getSQLColumn("a", col)).append(" = ").append(formatToString(attr.get(bean))); + setsql.append(info.getSQLColumn("a", col)).append(" = ").append(FilterNode.formatToString(attr.get(bean))); } } if (!virtual) { @@ -1316,7 +1298,7 @@ public final class DataDefaultSource implements DataSource, Function