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 2019/08/23 10:25:48 UTC

[GitHub] [incubator-shardingsphere] yogaling opened a new issue #2916: why InsertValue rewrite the parameters?

yogaling opened a new issue #2916: why InsertValue rewrite the parameters?
URL: https://github.com/apache/incubator-shardingsphere/issues/2916
 
 
   ## Question
   the method InsertValue.getParameters use parametersCount to subList the parameters。but when counting the paramCount just accept ParameterMarkerExpressionSegment. so that when my insert sql has parameters like ifnull(?,1)  , the value of paramCount is uncorrected 。finally 
   throw a java.sql.SqlException: No value specified for parameter 。
   
   

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


With regards,
Apache Git Services