diff --git a/src/osm/jp/coverage/fuel/DbFuel.java b/src/osm/jp/coverage/fuel/DbFuel.java index 6c9e92c..ed35c05 100644 --- a/src/osm/jp/coverage/fuel/DbFuel.java +++ b/src/osm/jp/coverage/fuel/DbFuel.java @@ -109,7 +109,7 @@ double lon = rset1.getDouble("lon"); String sqlStr = "INSERT INTO FUEL (gid,lat,lon,fixed,idref,area,up,fixed1) VALUES(?,?,?,?,?,?,2,0)"; - try (PreparedStatement ps = conPost.prepareStatement(sqlStr)) { + try (PreparedStatement ps = conHsql.prepareStatement(sqlStr)) { ps.setLong(1, gid); ps.setString(2, BigDecimal.valueOf(lat).toPlainString()); ps.setString(3, BigDecimal.valueOf(lon).toPlainString());