You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Sludge79 (via GitHub)" <gi...@apache.org> on 2023/08/17 08:17:30 UTC

[GitHub] [shardingsphere] Sludge79 commented on issue #6454: org.apache.shardingsphere.sql.parser.sql.segment.dml.item.ExpressionProjectionSegment cannot be cast to org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment

Sludge79 commented on issue #6454:
URL: https://github.com/apache/shardingsphere/issues/6454#issuecomment-1681843152

   org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: 
   ### Error updating database.  Cause: java.lang.ClassCastException: org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment cannot be cast to org.apache.shardingsphere.sql.parser.sql.segment.dml.expr.ExpressionSegment
   ### The error may exist in file [C:\sludge\aip_workspace\emop\emop-payment\payment-service\target\classes\mapper\MerchantWhiteMapper.xml]
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: UPDATE merchant_white mw             INNER JOIN merchant_st_card msc ON mw.enterprise_id = msc.company_id             SET mw.enterprise_name = msc.bank_code
   ### Cause: java.lang.ClassCastException: org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment cannot be cast to org.apache.shardingsphere.sql.parser.sql.segment.dml.expr.ExpressionSegment
   这玩意用起来头疼


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