??云主机低折扣年付还赠送90天?? | ??伍彩集团官网直营彩票 |
??伍彩集团官网直营彩票 | ??言情小说?? |
??私有威屁恩(独享/安全/稳定/高速/低价) | ??Google Facebook Youtube 科学上网 |
广告位招租 - 15元/月全站展示 | ??在线配资 |
??斗地主捕鱼电竞提现秒到 | 广告位招租 - 15元/月全站展示 |
??支付宝搜索579087183领大额红包 | ??伍彩集团官网直营彩票 |
??好待遇→招代理 | ??伍彩集团官网直营彩票 |
??络茄网 | 广告位招租 - 15元/月全站展示 |
转载 萤火的萤 2018-11-14 浏览量:12
彩票开奖查询 www.kbyp.net 报错如下:
1-1
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Create TEMPORARY TABLE temp_table3
select * from (
select * from VIEW_UserMe' at line 2
### The error may exist in XX/XXX/XXXX/XXXXX/mapper/XXXXXMapper.xml
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: Drop TEMPORARY TABLE IF exists temp_table3; Create TEMPORARY TABLE temp_table3 select * from ( select * from VIEW_UserMeter where supplierID =1 and SampleTime between date_sub(NOW(),interval 1 day) and date_add(NOW(),interval 1 day) ) as a; select * from (SELECT ROW_NUMBER() OVER ( ORDER BY sampleTime ) AS rownumber , building,entrance,doorplate,village,userName,remark1,remark2,meterId,meterSize,total,pressure,flowRate,valveStatus,status,updateTime,timeInp,vol,operate_ValveStatus,sampleTime,t1Inp FROM temp_table3 ) cc WHERE cc.rownumber > 0 limit 50; Drop TEMPORARY TABLE IF exists temp_table3;
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Create TEMPORARY TABLE temp_table3
select * from (
select * from VIEW_UserMe' at line 2
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Create TEMPORARY TABLE temp_table3
select * from (
select * from VIEW_UserMe' at line 2
.....................................................
1-2
回过头查看控制台error:
### The error may involve defaultParameterMap
### The error occurred while setting parameters
如下图:
1-3
重新启动项目,可成功执行,问题解决。
转载自://blog.51cto.com/14009535/2316962
不方便扫码就复制添加关注:程序员招聘谷,微信号:jobs1024