java - mapper.xml is generated through mybatis-generator, but the primary key id prompts an error
PHP中文网
PHP中文网 2017-06-30 09:53:39
0
2
1888

or DELIMITER expected,got 'id'

As shown in the picture, there is an error here, but I don’t understand what it means

Other content is normal, except that the id of the first Base_Column_List has a red underline error

          id, user_id, product_id, quantity, checked, create_time, update_time 

The same applies to other automatically generated tables
I don’t know if it is a problem with IntelliJ’s alarm level or if there is really a problem

PHP中文网
PHP中文网

认证高级PHP讲师

reply all (2)
学霸

You can test whether it is running normally. If an error is reported during operation, then look for the error. The error prompted by the editor may not necessarily be an error

    洪涛

    intelliJ2017 will report an error like this, but it runs without any problem. It’s just a small bug in intelliJ

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!