huolibo

Results 20 comments of huolibo

问题已经解决,详见:https://github.com/taosdata/taos-connector-jdbc/pull/35 可以 checkout 2.0 分支自己打包使用: mvn clean install -Dmaven.test.skip=true

已复现此问题,但 windows 的句柄数增加 表示什么含义以及解决方式需要进一步研究。

linux 上的表现是什么呢?

@joekaapa Currently,using grafana to monitor TDengine 3.x, you must start taosKeeper to write metrics to database. reference: [taosKeeper](https://docs.tdengine.com/reference/taosKeeper/) and then select `TDengine for 3.x` dashboard in `Dashboards tab`, like this...

丛 0 开始的,具体可参考:[TSDBPreparedStatementTest#executeTest](https://github.com/taosdata/taos-connector-jdbc/blob/b0009c310942d8db3710f3d05819e4f39296e055/src/test/java/com/taosdata/jdbc/TSDBPreparedStatementTest.java#L303) 预编译对 insert 可以批量做插入,加快插入速度。

由于一些变量在创建连接时进行初始化,当单独使用订阅功能时 jni 中部分变量未初始化。已修改详见:[#16498]

@sanliang125 两个解决方案,1. 使用 TDengine 源代码编译后的动态库代替项目中的动态库文件。2. 暂时在使用 TMQ 时增加一些创建连接的语句,使 jni 中的初始化代码可以得到执行。

如果不是 maven 项目,应该使用 taos-jdbcdriver-3.*-dist.jar。其中包含第三方引用的依赖

请升级下 jdbc 版本,3.0.1 是打包时使用 jdk 11 在 jdk 8 上使用存在问题。请使用 jdbc 3.0.2

It's ok in my test environment. using 3.0.2 taos jdbc version, and RESTful connection `jdbc:TAOS-RS://192.168.64.3:6041/thingsboard`. ![image](https://user-images.githubusercontent.com/17586328/199863300-04e9f315-adf8-4912-86fb-21887aba1ae3.png)