Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for mybatisPlus + TDengine can I use the REST API? the sample code shows native connection #25793

Open
yzh20021029 opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@yzh20021029
Copy link

Bug Description
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Type in '....'
  3. See error

Expected Behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
  • Memory, CPU, current Disk Space
  • TDengine Version [e.g. 1.6.1.7]

Additional Context
Add any other context about the problem here.

@yzh20021029 yzh20021029 added the bug Something isn't working label May 15, 2024
@trdmm
Copy link

trdmm commented May 18, 2024

可以, 改下driver-class-nameurl

spring:
  datasource:
    driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
    url: jdbc:TAOS-RS://ip:6041/test?charset=UTF-8
    username: root
    password: taosdata

但是不知道为啥, url后面加上batchfetch=true会导致连接不上...搞了好久才发现这个原因...😢

服务端版本: 3.1.1.0
taos-jdbcdrive版本: 3.2.11

@danielclow danielclow changed the title 使用mybatisPlus整合TDengine,连接方式可以使用REST 连接嘛,我看示例程序用的是原生连接方式。 for mybatisPlus + TDengine can I use the REST API? the sample code shows native connection May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants