Reverse Engineering ybatis automatically generated file is not the primary key mapper method

1, the data table is not set the primary key

    Arranged main keys like

2, in mybits configuration documentation set some of the properties is false

   Check in mybatis configuration documentation

   enableSelectByPrimaryKey="true"

  enableUpdateByPrimaryKey="true"

  enableDeleteByPrimaryKey="true"

The property is set to false, if these properties are set to true can be, if not set these properties, its default value is true, then do not ignore it

3, drive version too

Guess you like

Origin www.cnblogs.com/karrya/p/11924007.html