• 首页
  • 栏目
  • ERP
  • 一次org.springframework.jdbc.BadSqlGrammarException ### Error querying database Cause: ...

一次org.springframework.jdbc.BadSqlGrammarException ### Error querying database Cause: ...

  • 2021-12-01
  • Admin

先说结论:

因为在表设计中有一个商品描述字段被设置为desc,但desc是mysql中的关键字,如select id,name,desc,price from product;这条sql语句在查询时的sql语句解析会和期望的不一样,导致出现问题。因为平时在写java代码的时候很自然的会将描述变量设置为desc,在设计表字段时也没有多想,忘记和忽略了desc为mysql中的关键字,酿成此问题。

排查思路:

一开始怀疑是因为sql过长,删了一部分,成功了,加上又失败了,而且一直提示在price那里只打印了一半pric所以怀疑是不是price那里有问题。去掉price还是报错,最后一个字段一个字段的删减,最后发现是因为使用了sql关键字,desc,作为表字段造成的。

解决方式:

将商品描述列字段名称由desc修改为description。

总结问题:

在设计表字段时千万不可以使用Mysql中已定义的关键字。

异常日志见下:

  1. org.springframework.jdbc.BadSqlGrammarException:
  2. ### 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  3. ### The error may exist in yourpackage/dao/ProductSkuMapper.java (best guess)
  4. ### The error may involve yourpackage.dao.ProductSkuMapper.selectOneByExample-Inline
  5. ### The error occurred while setting parameters
  6. ### SQL: SELECT id,sku_id,product_id,name,marketing_name,sub_title,short_desc,desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,price,other FROM product_sku WHERE ( sku_id = ? and status = ? )
  7. ### 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  8. ; 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  9. SELECT id,sku_id,product_id,name,marketing_name,sub_title,short_desc,desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,price,other FROM product_sku WHERE ( sku_id = 'a21' and status = 0 );
  10. SELECT price,other FROM product_sku WHERE ( sku_id = 'a21' and status = 0 );
  11. 2018-08-30 21:20:40.327 INFO 10008 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,rm_product} inited
  12. 2018-08-30 21:20:40.405 DEBUG 10008 --- [ main] n.r.m.p.d.P.selectOneByExample : ==> Preparing: SELECT id,sku_id,product_id,name,marketing_name,sub_title,short_desc,desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,price,other FROM product_sku WHERE ( sku_id = ? and status = ? )
  13. 2018-08-30 21:20:40.425 DEBUG 10008 --- [ main] n.r.m.p.d.P.selectOneByExample : ==> Parameters: a21(String), 0(Integer)
  14. 2018-08-30 21:20:40.542 ERROR 10008 --- [ main] druid.sql.Statement : {conn-10005, pstmt-20000} execute error. select id, sku_id, product_id, name, marketing_name
  15. , sub_title, short_desc, desc, site_code, erp_code
  16. , model, pack_length, pack_width, pack_height, pack_weight
  17. , price, other
  18. from product_sku
  19. where sku_id = 'a21'
  20. and status = 0
  21. 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  22. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  23. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  24. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  25. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  26. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  27. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  28. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
  29. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  30. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  31. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  32. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  33. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2487)
  34. at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
  35. at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1197)
  36. at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3409)
  37. at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
  38. at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3407)
  39. at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
  40. at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3407)
  41. at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.execute(PreparedStatementProxyImpl.java:167)
  42. at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:498)
  43. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  44. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  45. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  46. at java.lang.reflect.Method.invoke(Method.java:498)
  47. at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
  48. at com.sun.proxy.$Proxy121.execute(Unknown Source)
  49. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:63)
  50. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  51. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  52. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324)
  53. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  54. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  55. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143)
  56. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
  57. at com.sun.proxy.$Proxy119.query(Unknown Source)
  58. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148)
  59. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)
  60. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77)
  61. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  62. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  63. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  64. at java.lang.reflect.Method.invoke(Method.java:498)
  65. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433)
  66. at com.sun.proxy.$Proxy87.selectOne(Unknown Source)
  67. at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166)
  68. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:82)
  69. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
  70. at com.sun.proxy.$Proxy101.selectOneByExample(Unknown Source)
  71. at yourpackage.impl.ProductSkuServiceImpl.getSkuInfoById(ProductSkuServiceImpl.java:89)
  72. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  73. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  74. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  75. at java.lang.reflect.Method.invoke(Method.java:498)
  76. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  77. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
  78. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  79. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
  80. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
  81. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  82. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
  83. at com.sun.proxy.$Proxy102.getSkuInfoById(Unknown Source)
  84. at ProductSkuApiTest.getSkuInfoById(ProductSkuApiTest.java:93)
  85. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  86. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  87. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  88. at java.lang.reflect.Method.invoke(Method.java:498)
  89. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  90. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  91. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  92. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  93. at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:73)
  94. at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:83)
  95. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
  96. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
  97. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
  98. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  99. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
  100. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
  101. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  102. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  103. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  104. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  105. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  106. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  107. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  108. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  109. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
  110. at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
  111. at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
  112. at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
  113. at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
  114. at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
  115. 2018-08-30 21:20:40.550 INFO 10008 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
  116. 2018-08-30 21:20:40.565 INFO 10008 --- [ main] o.s.jdbc.support.SQLErrorCodesFactory : SQLErrorCodes loaded: [DB2, Derby, H2, HDB, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
  117. org.springframework.jdbc.BadSqlGrammarException:
  118. ### 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  119. ### The error may exist in yourpackage/dao/ProductSkuMapper.java (best guess)
  120. ### The error may involve yourpackage.dao.ProductSkuMapper.selectOneByExample-Inline
  121. ### The error occurred while setting parameters
  122. ### SQL: SELECT id,sku_id,product_id,name,marketing_name,sub_title,short_desc,desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,price,other FROM product_sku WHERE ( sku_id = ? and status = ? )
  123. ### 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  124. ; 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 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  125. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:234)
  126. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  127. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
  128. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)
  129. at com.sun.proxy.$Proxy87.selectOne(Unknown Source)
  130. at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166)
  131. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:82)
  132. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
  133. at com.sun.proxy.$Proxy101.selectOneByExample(Unknown Source)
  134. at yourpackage.impl.ProductSkuServiceImpl.getSkuInfoById(ProductSkuServiceImpl.java:89)
  135. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  136. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  137. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  138. at java.lang.reflect.Method.invoke(Method.java:498)
  139. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  140. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
  141. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  142. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
  143. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
  144. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  145. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
  146. at com.sun.proxy.$Proxy102.getSkuInfoById(Unknown Source)
  147. at ProductSkuApiTest.getSkuInfoById(ProductSkuApiTest.java:93)
  148. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  149. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  150. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  151. at java.lang.reflect.Method.invoke(Method.java:498)
  152. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  153. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  154. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  155. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  156. at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:73)
  157. at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:83)
  158. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
  159. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
  160. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
  161. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  162. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
  163. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
  164. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  165. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  166. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  167. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  168. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  169. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  170. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  171. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  172. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
  173. at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
  174. at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
  175. at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
  176. at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
  177. at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
  178. 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 near 'desc,site_code,erp_code,model,pack_length,pack_width,pack_height,pack_weight,pri' at line 1
  179. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  180. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  181. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  182. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  183. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  184. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  185. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
  186. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  187. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  188. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  189. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  190. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2487)
  191. at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
  192. at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1197)
  193. at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3409)
  194. at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
  195. at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3407)
  196. at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
  197. at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:3407)
  198. at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.execute(PreparedStatementProxyImpl.java:167)
  199. <

    原文:https://blog.csdn.net/lingyejun/article/details/121646931

联系站长

QQ:769220720

Copyright © SibooSoft All right reserved 津ICP备19011444号