在我本地机器写代码执行是没有问题 Connection conn=initConnect();
Statement statement = conn.createStatement();
Long startTime =System.currentTimeMillis();
String sql = "select * from a";
ResultSet rs= statement.executeQuery(sql);
List<Record> recordList = new ArrayList<Record>();
while(rs.next()){
......
Statement statement2 = conn.createStatement();
String sql2 = "insert into newsdb.a values("+id+","+typeId+","+disId+",'........',0)";
statement2.executeUpdate(sql2)
................但是换台开发人员机器 (连接同一数据库) 发现有错误but java.sql.SQLException: Incorrect string value: '\xEF\xBF\xBDche...' for column 'collectedName' at row 1 观察os都是英文版 eclipse基本配置是一样的 (为社么我机器运行没有错误
换台开发人员机器却发现错
Statement statement = conn.createStatement();
Long startTime =System.currentTimeMillis();
String sql = "select * from a";
ResultSet rs= statement.executeQuery(sql);
List<Record> recordList = new ArrayList<Record>();
while(rs.next()){
......
Statement statement2 = conn.createStatement();
String sql2 = "insert into newsdb.a values("+id+","+typeId+","+disId+",'........',0)";
statement2.executeUpdate(sql2)
................但是换台开发人员机器 (连接同一数据库) 发现有错误but java.sql.SQLException: Incorrect string value: '\xEF\xBF\xBDche...' for column 'collectedName' at row 1 观察os都是英文版 eclipse基本配置是一样的 (为社么我机器运行没有错误
换台开发人员机器却发现错
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货