Home > front end >  Mybatis SpringBoot 2 consolidation, pojo package problem
Mybatis SpringBoot 2 consolidation, pojo package problem

Time:09-27



It's application. The yaml configuration, inside the mapper configuration was used to write SQL statements, before resulttype is the entity class that can be used normally, now want to use the pojo class, not in the inside of the entity, in addition to put pojo package entity bag inside, this configuration of automatic package scanning to how, or the entrance of the app using annotations to scan the pojo package, to find the online also have no answer for a long time, I only thought, no specific example?
  • Related