zifeihan commented on issue #6080:
URL: https://github.com/apache/skywalking/issues/6080#issuecomment-751425770


   > Please answer these questions before submitting your issue.
   > 
   > * Why do you submit this issue?
   > * [ ]  Question or discussion
   > * [ ]  Bug
   > * [ ]  Requirement
   > * [ ]  Feature or performance improvement
   > 
   > ### Question
   > * What do you want to know?
   > 
   > ### Bug
   > * Which version of SkyWalking, OS, and JRE?
   > * Which company or project?
   > * What happened?
   >   If possible, provide a way to reproduce the error. e.g. demo 
application, component version.
   > 
   > ### Requirement or improvement
   > * Please describe your requirements or improvement suggestions.
   >   Caused by: org.apache.ibatis.executor.ExecutorException: Error preparing 
statement. Cause: java.lang.ClassCastException: 
org.apache.skywalking.apm.plugin.jdbc.trace.SWPreparedStatement cannot be cast 
to com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement
   >   at 
org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:97)
   >   at 
org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:59)
   >   at 
org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:85)
   >   at 
org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
   >   at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
   >   at 
org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
   >   at sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
   >   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >   at java.lang.reflect.Method.invoke(Method.java:498)
   >   at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
   >   at com.sun.proxy.$Proxy320.update(Unknown Source)
   >   at sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
   >   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >   at java.lang.reflect.Method.invoke(Method.java:498)
   >   at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
   >   at com.sun.proxy.$Proxy320.update(Unknown Source)
   >   ... 290 more
   
   @arronbin Sorry, I did not reproduce this problem, Could you provide a demo 
app to reproduce the problem?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to