You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/07/09 12:31:35 UTC

[GitHub] [shardingsphere] lcx1989210 opened a new issue #6230: The Sql does not work after upgrade 4.0.1

lcx1989210 opened a new issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230


   OK , When I update the shardingsphere from  to 4.0.1, then I found  query SQL occured exception.
   There are some sql details as follow:
   Mysql Server version : 5.7.22;
   shardingsphere  version: 4.0.1
   The maven info as follow:
    <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>sharding-core-common</artifactId>
               <version>4.0.1</version>
           </dependency>
   
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>sharding-jdbc-core</artifactId>
               <version>4.0.1</version>
           </dependency>
   
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>sharding-jdbc-spring-namespace</artifactId>
               <version>4.0.1</version>
           </dependency>
   
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>sharding-jdbc-orchestration-spring-namespace</artifactId>
               <version>4.0.1</version>
           </dependency>
   After my application server start, then I execute a query, there are some exception occured . The exception details as follow:
   ```
   org.springframework.jdbc.BadSqlGrammarException: 
   ### Error querying database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   ### The error may exist in file [/opt/config/mappers/OrderMapper.xml]
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: select               id, order_code, wlt_code, user_id, user_type, combo_type, user_name, price, status,     created_at, executed_at, remark, source_type, source_order_code, source_order_type,     refund_at, refund_price, pay_id, pay_user_id, mer_id, extension1, extension2, modified_at, info_id             from order         where order_code = ?         and user_id = ?         and user_type = ?
   ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   ; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:230)
   	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
   	at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:75)
   	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:447)
   	at com.sun.proxy.$Proxy66.selectOne(Unknown Source)
   	at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:167)
   	at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:82)
   	at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
   	at com.sun.proxy.$Proxy69.selectOrderByOrderCode(Unknown Source)
   	at biz.newbiz.impl.OrderServiceBizImpl.createOrder(OrderServiceBizImpl.java:541)
   	at biz.newbiz.impl.OrderServiceBizImpl$$FastClassBySpringCGLIB$$ce562327.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
   	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
   	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
   	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
   	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
   	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
   	at biz.newbiz.impl.OrderServiceBizImpl$$EnhancerBySpringCGLIB$$444606b3.createOrder(<generated>)
   	at components.OrderService.createOrder(OrderService.java:269)
   	at components.OrderService$$FastClassBySpringCGLIB$$ab928388.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
   	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
   	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:84)
   	at resource.aop.ValidateAspect.around(ValidateAspect.java:62)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:497)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
   	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
   	at components.OrderService$$EnhancerBySpringCGLIB$$b8d9a8f0.createOrder(<generated>)
   	at OrderServiceProxyStub1593595878340.createOrder(OrderServiceProxyStub1593595878340.java)
   	at OrderServiceProxyStub1593595878340.invoke(OrderServiceProxyStub1593595878340.java)
   	at com.bj58.spat.scf.server.core.proxy.InvokerBase.doInvoke(InvokerBase.java:110)
   	at com.bj58.spat.scf.server.core.proxy.AsyncInvokerHandle$1.run(AsyncInvokerHandle.java:101)
   	at com.bj58.spat.scf.server.util.expandasync.AsyncWorker.execTimeoutTask(AsyncWorker.java:139)
   	at com.bj58.spat.scf.server.util.expandasync.AsyncWorker.access$200(AsyncWorker.java:14)
   	at com.bj58.spat.scf.server.util.expandasync.AsyncWorker$executeThread.run(AsyncWorker.java:165)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:745)
   Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
   	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
   	at com.mysql.jdbc.Util.getInstance(Util.java:408)
   	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
   	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
   	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2490)
   	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
   	at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1197)
   	at org.apache.commons.dbcp2.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:94)
   	at org.apache.commons.dbcp2.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:94)
   	at org.apache.shardingsphere.shardingjdbc.executor.SQLExecuteCallbackFactory$2.executeSQL(SQLExecuteCallbackFactory.java:64)
   	at org.apache.shardingsphere.shardingjdbc.executor.SQLExecuteCallbackFactory$2.executeSQL(SQLExecuteCallbackFactory.java:60)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute0(SQLExecuteCallback.java:79)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute(SQLExecuteCallback.java:61)
   	at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.syncGroupExecute(ShardingExecuteEngine.java:125)
   	at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.serialExecute(ShardingExecuteEngine.java:90)
   	at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.groupExecute(ShardingExecuteEngine.java:83)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:73)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:56)
   	at org.apache.shardingsphere.shardingjdbc.executor.AbstractStatementExecutor.executeCallback(AbstractStatementExecutor.java:140)
   	at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.execute(PreparedStatementExecutor.java:153)
   	at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.execute(ShardingPreparedStatement.java:192)
   	at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:497)
   	at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
   	at com.sun.proxy.$Proxy103.execute(Unknown Source)
   	at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:63)
   	at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
   	at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
   	at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324)
   	at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
   	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
   	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:83)
   	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148)
   	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)
   	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:497)
   	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:434)
   	... 49 more
   
   The sql info is :
   
    spring.transaction.SpringManagedTransaction d02be3bf-8dee-4762-85e5-5bfb5cba5ea8 - JDBC Connection [org.apache.shardingsphere.shardingjdbc.jdbc.core.connection.ShardingConnection@ee477ad] will be managed by Spring
    resource.OrderDao.selectOrderByOrderCode d02be3bf-8dee-4762-85e5-5bfb5cba5ea8 - ==>  Preparing: select id, order_code, wlt_code, user_id, user_type, combo_type, user_name, price, status, created_at, executed_at, remark, source_type, source_order_code, source_order_type, refund_at, refund_price, pay_id, pay_user_id, mer_id, extension1, extension2, modified_at, info_id from order where order_code = ? and user_id = ? and user_type = ? 
   resource.OrderDao.selectOrderByOrderCode d02be3bf-8dee-4762-85e5-5bfb5cba5ea8 - ==> Parameters: zgadd71a456f699e1eeec2bebcbc5666662(String), 62700030514190(Long), 2(Integer)
    mybatis.spring.SqlSessionUtils d02be3bf-8dee-4762-85e5-5bfb5cba5ea8 - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3349a40]
    jdbc.support.SQLErrorCodeSQLExceptionTranslator d02be3bf-8dee-4762-85e5-5bfb5cba5ea8 - Translating SQLException with SQL state '42000', error code '1064', message [#42000]; SQL was [] for task [
   ### Error querying database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   ### The error may exist in file [/opt/config/mappers/resource/OrderMapper.xml]
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: select               id, order_code, wlt_code, user_id, user_type, combo_type, user_name, price, status,     created_at, executed_at, remark, source_type, source_order_code, source_order_type,     refund_at, refund_price, pay_id, pay_user_id, mer_id, extension1, extension2, modified_at, info_id             from order         where order_code = ?         and user_id = ?         and user_type = ?
   ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] lcx1989210 closed issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
lcx1989210 closed issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] lcx1989210 commented on issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
lcx1989210 commented on issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230#issuecomment-652373548


   ok ,let me try it


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] kimmking commented on issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230#issuecomment-652372562


   status is a keyword, you can use \`status\` instead.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230#issuecomment-655875378


   > I solved the problem after I consulted a lot of information. That is because my table name Order is a key word in mysql. Then I use `order` instead of it, so every sql is ok!
   > What puzzles me is that why the table name Order will execute sql as normal at shardingsphere version 3.1.0,but it will occured
   > exception above shardingsphere version 4.0.1.Please tell me what changes after the version 4.0.1,give me as much information as you can,so I can explain it to my colleagues。
   
   @lcx1989210 Could you consider closing this issue?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] lcx1989210 commented on issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
lcx1989210 commented on issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230#issuecomment-653290734


   I solved the problem after I consulted a lot of information. That is because my table name Order is a key word in mysql. Then I use `order` instead  of it, so every sql is ok! 
   What puzzles me is that  why the table name Order will execute sql as normal at shardingsphere version 3.1.0,but it will occured
   exception above shardingsphere version 4.0.1.Please tell me what  changes after the version 4.0.1,give me as much information as you can,so I can explain it to my colleagues。
   
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] lcx1989210 commented on issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
lcx1989210 commented on issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230#issuecomment-652379621


   This time,my query column does not contain status .It still has exception as previos.
   ### Error querying database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   ### The error may exist in file [/opt/mappers/resource/OrderMapper.xml]
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: select               id, order_code, wlt_code, user_id, user_type, combo_type, user_name, price,     created_at, executed_at, remark, source_type, source_order_code, source_order_type,     refund_at, refund_price, pay_id, pay_user_id, mer_id, extension1, extension2, modified_at, info_id             from order         where order_code = ?         and user_id = ?         and user_type = ?
   ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   ; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: #42000
   	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:230)
   	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
   	at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:75)
   	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:447)
   	at com.sun.proxy.$Proxy67.selectOne(Unknown Source)
   	at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:167)
   	at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:82)
   	at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
   	at com.sun.proxy.$Proxy81.selectOrderByOrderCode(Unknown Source)
   	at biz.newbiz.impl.OrderServiceBizImpl.createOrder(OrderServiceBizImpl.java:541)
   	at biz.newbiz.impl.OrderServiceBizImpl$$FastClassBySpringCGLIB$$ce562327.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
   	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
   	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
   	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
   	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
   	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
   	at biz.newbiz.impl.OrderServiceBizImpl$$EnhancerBySpringCGLIB$$814fcac7.createOrder(<generated>)
   	at components.OrderService.createOrder(OrderService.java:269)
   	at components.OrderService$$FastClassBySpringCGLIB$$ab928388.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
   	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
   	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:84)
   	at aop.ValidateAspect.around(ValidateAspect.java:62)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:497)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
   	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
   	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
   	at components.OrderService$$EnhancerBySpringCGLIB$$3c11e81d.createOrder(<generated>)
   	at OrderServiceProxyStub1593604749316.createOrder(OrderServiceProxyStub1593604749316.java)
   	at OrderServiceProxyStub1593604749316.invoke(OrderServiceProxyStub1593604749316.java)
   	at com.bj58.spat.scf.server.core.proxy.InvokerBase.doInvoke(InvokerBase.java:110)
   	at com.bj58.spat.scf.server.core.proxy.AsyncInvokerHandle$1.run(AsyncInvokerHandle.java:101)
   	at com.bj58.spat.scf.server.util.expandasync.AsyncWorker.execTimeoutTask(AsyncWorker.java:139)
   	at com.bj58.spat.scf.server.util.expandasync.AsyncWorker.access$200(AsyncWorker.java:14)
   	at com.bj58.spat.scf.server.util.expandasync.AsyncWorker$executeThread.run(AsyncWorker.java:165)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:745)。
   
   I found more solutions this days to solve it,but it still not work. 
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] yu199195 commented on issue #6230: The Sql does not work after upgrade 4.0.1

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #6230:
URL: https://github.com/apache/shardingsphere/issues/6230#issuecomment-652742246


   can you config sql.show = true ?  and show you configuration. 


----------------------------------------------------------------
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:
users@infra.apache.org