TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

springboot+tdengine

Open a995234891 opened this issue 2 years ago • 2 comments

使用durid连接池在配置文件中加载, 我在内存中拼接好sql,通过SqlSessionTemplate获取Stament,去执行sql,报错 sql出错=sql injection violation, syntax error: syntax error, error in :'ints TAGS('1') VALUES('2018-10-03 1', expect IDENTIFIER, actual IDENTIFIER pos 31, line 1, column 32, token IDENTIFIER TAGS : insert into dev001 using points TAGS('1') VALUES('2018-10-03 14:38:05.000','1','1') 这是代码 image

a995234891 avatar Nov 02 '22 03:11 a995234891

别用 using

zclcs avatar Nov 03 '22 03:11 zclcs

别用 using

不用using 无法跟超级表关联在一起

Kiki513H avatar Jan 14 '24 15:01 Kiki513H