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 2022/10/10 06:42:00 UTC

[GitHub] [shardingsphere] anonymous-lj opened a new issue, #15152: No value specified for parameter

anonymous-lj opened a new issue, #15152:
URL: https://github.com/apache/shardingsphere/issues/15152

   <dependency>
         <groupId>org.apache.shardingsphere</groupId>
         <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
         <version>5.0.0</version>
     </dependency>
   ShardingSphere JDBC  pressure test abnormal 
   
   sql:select * from api_wallet  where id = ?  for update
   
   Caused by: java.sql.SQLException: No value specified for parameter 1
   2022/1/28 下午2:47:40         at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
   2022/1/28 下午2:47:40         at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
   2022/1/28 下午2:47:40         at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
   2022/1/28 下午2:47:40         at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:396)
   2022/1/28 下午2:47:40         at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement$2.executeSQL(ShardingSpherePreparedStatement.java:322)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement$2.executeSQL(ShardingSpherePreparedStatement.java:318)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:85)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:64)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.syncExecute(ExecutorEngine.java:101)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.parallelExecute(ExecutorEngine.java:97)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.execute(ExecutorEngine.java:82)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor.execute(JDBCExecutor.java:65)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor.execute(JDBCExecutor.java:49)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.driver.executor.JDBCLockEngine.doExecute(JDBCLockEngine.java:116)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.driver.executor.JDBCLockEngine.execute(JDBCLockEngine.java:93)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.driver.executor.DriverJDBCExecutor.execute(DriverJDBCExecutor.java:127)
   2022/1/28 下午2:47:40         at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.execute(ShardingSpherePreparedStatement.java:298)
   2022/1/28 下午2:47:40         at io.seata.rm.datasource.PreparedStatementProxy.lambda$execute$0(PreparedStatementProxy.java:55)
   2022/1/28 下午2:47:40         at io.seata.rm.datasource.exec.SelectForUpdateExecutor.doExecute(SelectForUpdateExecutor.java:91)
   2022/1/28 下午2:47:40         at io.seata.rm.datasource.exec.BaseTransactionalExecutor.execute(BaseTransactionalExecutor.java:113)
   2022/1/28 下午2:47:40         at io.seata.rm.datasource.exec.ExecuteTemplate.execute(ExecuteTemplate.java:111)
   2022/1/28 下午2:47:40         at io.seata.rm.datasource.exec.ExecuteTemplate.execute(ExecuteTemplate.java:50)
   2022/1/28 下午2:47:40         at io.seata.rm.datasource.PreparedStatementProxy.execute(PreparedStatementProxy.java:55)
   2022/1/28 下午2:47:40         at jdk.internal.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
   2022/1/28 下午2:47:40         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2022/1/28 下午2:47:40         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   2022/1/28 下午2:47:40         at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
   2022/1/28 下午2:47:40         at com.sun.proxy.$Proxy361.execute(Unknown Source)
   2022/1/28 下午2:47:40         at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
   2022/1/28 下午2:47:40         at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
   2022/1/28 下午2:47:40         at jdk.internal.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
   2022/1/28 下午2:47:40         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2022/1/28 下午2:47:40         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   2022/1/28 下午2:47:40         at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
   2022/1/28 下午2:47:40         at com.sun.proxy.$Proxy359.query(Unknown Source)
   2022/1/28 下午2:47:40         at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:67)
   2022/1/28 下午2:47:40         at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324)
   2022/1/28 下午2:47:40         at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
   2022/1/28 下午2:47:40         at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:163)
   2022/1/28 下午2:47:40         at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:90)
   2022/1/28 下午2:47:40         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
   2022/1/28 下午2:47:40         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
   2022/1/28 下午2:47:40         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:76)
   2022/1/28 下午2:47:40         at jdk.internal.reflect.GeneratedMethodAccessor428.invoke(Unknown Source)
   2022/1/28 下午2:47:40         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2022/1/28 下午2:47:40         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   2022/1/28 下午2:47:40         at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN closed issue #15152: No value specified for parameter

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #15152: No value specified for parameter
URL: https://github.com/apache/shardingsphere/issues/15152


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zjcnb commented on issue #15152: No value specified for parameter

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

   @anonymous-lj Hi, Can you use 5.1.2 release try again?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #15152: No value specified for parameter

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

   Please upgrade to latest version. I'm closing this unless we could reproduce 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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] github-actions[bot] closed issue #15152: No value specified for parameter

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #15152: No value specified for parameter
URL: https://github.com/apache/shardingsphere/issues/15152


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] github-actions[bot] commented on issue #15152: No value specified for parameter

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #15152:
URL: https://github.com/apache/shardingsphere/issues/15152#issuecomment-1272350397

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org