jakara edited a comment on issue #2369: Sharding-JDBC 4.0.0-RC1 Compatibility?
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2369#issuecomment-492095235
 
 
   ```
       INSERT INTO `mobile`
           (`mobile`,
            `id`,
            `lock`
           )
           values (#{mobile, jdbcType=VARCHAR}, #{id, jdbcType=BIGINT}, 1)
           on duplicate key update
               `lock` = IF(`lock` = 0, 1, 0)
   ```
   please check this one, works in 3.1.0, but failed in 4.0.0-RC1, reporting   
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

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


With regards,
Apache Git Services

Reply via email to