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 2020/08/05 03:30:20 UTC

[GitHub] [shardingsphere] yz-1130 opened a new issue #6625: Why not support the ‘point’ field?

yz-1130 opened a new issue #6625:
URL: https://github.com/apache/shardingsphere/issues/6625


   
   I have this question, I don't know how to solve it, because it is an old project, there is no way to change the field name. I have a ‘point’ field in the database table users, and it fails when I insert data or query data, and it’s no problem to change to other fields.
    Questions are as follows:
   
   ‘line 3:37 no viable alternative at input 'point,'
   line 3:37 no viable alternative at input 'point,'
   2020-08-05 11:00:12.886 ERROR 36606 --- [qtp940937618-39] .t.m.c.s.DefaultMemberPointUpReadService : Failed to find by id 1, cause org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: 
   ### Error querying database.  Cause: java.lang.NullPointerException
   ### The error may exist in URL [jar:file:/Users/duandian/.m2/repository/io/terminus/member/member-core/2.10.25.RELEASE/member-core-2.10.25.RELEASE.jar!/mapper/MemberPointUpMapper.xml]
   ### The error may involve MemberPointUp.findById-Inline
   ### The error occurred while setting parameters
   ### SQL: SELECT           id,           member_id, description, point, used, rest, status, channel, distribution,         outer_id, outer_type, amount, trade_amount, refund_amount, return_point, transfer_point,point_display,         remark, expire_at, created_at, updated_at                     FROM           mc_point_up               WHERE id = ?
   ### Cause: java.lang.NullPointerException
   ’
   is this is a bug?Can anyone tell me how to solve this problem?
   


----------------------------------------------------------------
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 #6625: Why not support the ‘point’ field?

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


   @yz-1130 Now, mysql keywords have been checked, master branch is ok, new version will fix 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.

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



[GitHub] [shardingsphere] yz-1130 commented on issue #6625: Why not support the ‘point’ field?

Posted by GitBox <gi...@apache.org>.
yz-1130 commented on issue #6625:
URL: https://github.com/apache/shardingsphere/issues/6625#issuecomment-671702040


   > not
   
   no.   I. have done


----------------------------------------------------------------
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] yz-1130 commented on issue #6625: Why not support the ‘point’ field?

Posted by GitBox <gi...@apache.org>.
yz-1130 commented on issue #6625:
URL: https://github.com/apache/shardingsphere/issues/6625#issuecomment-671702205


   > `point ` maybe mysql keyword, please another field or use `point`.
   
   you are right ,I have solved
   


----------------------------------------------------------------
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] yu199195 commented on issue #6625: Why not support the ‘point’ field?

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


   any question? if not we will close 


----------------------------------------------------------------
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] yu199195 commented on issue #6625: Why not support the ‘point’ field?

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


   `point `  maybe mysql keyword, please another field or use `point`.
   


----------------------------------------------------------------
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] terrymanu closed issue #6625: Why not support the ‘point’ field?

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


   


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