dxy9

Results comments of dxy9

升级 taos-jdbcdriver:2.0.34 之后还是有这种情况,插入单条值的数据可以,插入多条时还是报错 TDengine ERROR (216)

2021-11-22 15:12:47.346 DEBUG 15728 --- [nio-8081-exec-3] c.t.e.s.dao.WeatherMapper.insertBatch : ==> Preparing: insert into test.t? (ts, temperature, humidity, note) values (?, ?, ?, ?) (?, ?, ?, ?) 2021-11-22 15:12:47.346 DEBUG 15728...

可以切换到restfullDriver ,瞬间解决 driver-class-name: com.taosdata.jdbc.rs.RestfulDriver url: jdbc:TAOS-RS://ip:6041/mp_test?timezone=UTC-8&charset=UTF-8&locale=en_US.UTF-8

```xml insert into test.t#{groupId} (ts, temperature, humidity, note) values (#{weather.ts}, #{weather.temperature}, #{weather.humidity}, #{weather.note}) ```

( ̄工 ̄lll)可以了(//▽//),官方文档中的示例都是不用逗号分隔的,建议给出明确提示