MySQL异常
cq__ht
坚持每一天努力一点点,总有一天你会发现其实很简单
展开
-
SQLFeatureNotSupportedException
org.springframework.dao.InvalidDataAccessApiUsageException: Error attempting to get column 'day_time' from result set. Cause: java.sql.SQLFeatureNotSupportedException ; ]; null; nested exception is java.sql.SQLFeatureNotSupportedException at org.sprin...原创 2020-06-18 10:29:03 · 792 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get
com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction 数据库死锁导致: 解决方法: 1.最简单,直接重启服务器,重新构建项目 2.根本上解决问题,@Transaction(noRollbackFor = MySQLTransactionRollbackException.clas)..原创 2020-05-20 16:33:45 · 3576 阅读 · 0 评论 -
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL
@Caused by: 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 ...原创 2018-12-18 17:41:29 · 2593 阅读 · 0 评论