2019-04-29 11:11:41,745 [DEBUG] org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - INSERT INTO ATT_LOCATION(CUSTOMER_ID,name,GPS_LAT,GPS_LNG,paths,IS_ENABLE) VALUES(?,?,?,?,?,?)
| 1 | 2 | 3 | 4 | 5 | 6 |
|------|------|-------------------|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|
| NULL | 附院本部 | 32.00763582629068 | 120.86553105798339 | {"paths":[{"lat":32.008950904477175,"lng":120.86344957351685}, {"lat":32.008659778232705,"lng":120.86314916610718}, {"lat":32.00824128263634,"lng":120.86323499679565}, {"lat":32.00815030507996,"lng":120.86359977722168}, {"lat":32.00647630192637,"lng":120.86405038833618}, {"lat":32.00685841403447,"lng":120.86681842803955}, {"lat":32.00529356387788,"lng":120.86737632751465}, {"lat":32.005675680915985,"lng":120.86870670318604}, {"lat":32.008532410209995,"lng":120.86778402328491}, {"lat":32.00809571850279,"lng":120.86604595184326}, {"lat":32.00933300626979,"lng":120.86570262908936}, {"lat":32.00935120155353,"lng":120.86525201797485}, {"lat":32.01084320252756,"lng":120.86482286453247}, {"lat":32.010388326755354,"lng":120.86310625076294}]} | NULL |
For example:> "INSERT INTO ATT_LOCATION(CUSTOMER_ID,name,GPS_LAT,GPS_LNG,paths,IS_ENABLE) VALUES(NULL,'附院本部',32.00763582629068,120.86553105798339,'{"paths":[{"lat":32.008950904477175,"lng":120.86344957351685}, {"lat":32.008659778232705,"lng":120.86314916610718}, {"lat":32.00824128263634,"lng":120.86323499679565}, {"lat":32.00815030507996,"lng":120.86359977722168}, {"lat":32.00647630192637,"lng":120.86405038833618}, {"lat":32.00685841403447,"lng":120.86681842803955}, {"lat":32.00529356387788,"lng":120.86737632751465}, {"lat":32.005675680915985,"lng":120.86870670318604}, {"lat":32.008532410209995,"lng":120.86778402328491}, {"lat":32.00809571850279,"lng":120.86604595184326}, {"lat":32.00933300626979,"lng":120.86570262908936}, {"lat":32.00935120155353,"lng":120.86525201797485}, {"lat":32.01084320252756,"lng":120.86482286453247}, {"lat":32.010388326755354,"lng":120.86310625076294}]}',NULL) "
2019-04-29 11:11:42,556 [DEBUG] org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:97) - SQLException
org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry
建议:"ST" <-- parse error at position 2 within geometry
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:168)
at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:157)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3409)
at com.alibaba.druid.wall.WallFilter.preparedStatement_execute(WallFilter.java:620)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3407)
at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3407)
at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.execute(PreparedStatementProxyImpl.java:167)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:498)
at org.nutz.dao.impl.sql.run.NutDaoExecutor._runPreparedStatement(NutDaoExecutor.java:308)