mybatis-generator-demo

  • base on sample or doc to configure XML file in generator/generatorConfig.xml as what you need
  • clean packages and folders under path of 'com/wiz/test/demo/data/dao', 'com/wiz/test/demo/data/entity' and 'resources/mapper'
  • give the '@Mapper' tag in Mapper interface to let other component available to invoke
  • auto bind mapper to your controller to use as API