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 2021/02/05 07:36:10 UTC

[GitHub] [shardingsphere] rtj599 opened a new issue #9345: batch insert exception

rtj599 opened a new issue #9345:
URL: https://github.com/apache/shardingsphere/issues/9345


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   4.1.1
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-JDBC
   
   ### Expected behavior
   
   batch insert statements execute successfully or throw SQLFeatureNotSupportException
   
   ### Actual behavior
   
   SQLException throws : bad SQL grammar []; nested exception is java.sql.SQLException: No value specified for parameter xx
   
   ### Reason analyze (If you can)
   
   something wrong with sql parser
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   ```
   <insert id="xxx">
       <foreach item="item" index="index" collection="list" separator=";">
           insert into xxxxx....
   
       </foreach>
   </insert>
   ```
   ### Example codes for reproduce this issue (such as a github link).
   


----------------------------------------------------------------
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] jingshanglu commented on issue #9345: batch insert exception

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


   @rtj599 Can you try `5.0.0-alpha`?  `5.0.0-alpha` improves the support of SQL.


----------------------------------------------------------------
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] rtj599 commented on issue #9345: batch insert exception

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


   > @rtj599 Can you try `5.0.0-alpha`? `5.0.0-alpha` improves the support of SQL.
   
   OK, I'll try it,thx


----------------------------------------------------------------
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] rtj599 closed issue #9345: batch insert exception

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


   


----------------------------------------------------------------
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] rtj599 closed issue #9345: batch insert exception

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


   


----------------------------------------------------------------
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] rtj599 commented on issue #9345: batch insert exception

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


   > @rtj599 Can you try `5.0.0-alpha`? `5.0.0-alpha` improves the support of SQL.
   
   OK, I'll try it,thx


----------------------------------------------------------------
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] jingshanglu commented on issue #9345: batch insert exception

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


   @rtj599 Can you try `5.0.0-alpha`?  `5.0.0-alpha` improves the support of SQL.


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