Cause: java.sql.SQLException: connection disabled
; uncategorized SQLException; SQL state [null]; error code [0]; connection disabled; nested exception is java.sql.SQLException: connection disabled
connection连接断了。查一下数据库服务有没有起
而且只有这个语句才报错,但其它语句都可以正常运行。所以我也懵逼
从这个报错上来看,与sql语句没有任何关系,因为这个错不是数据库报出来的,而是在应用连接到数据库的时候就已经失败了,根本就还没向数据库发送sql指令。
表名换一个名字试一试
代码截屏看看