Home > Back-end >  Integration of SSM for help, thank you
Integration of SSM for help, thank you

Time:10-01

Integration of SSM, why not the core of the MyBatis configuration file into the interface mapping file

CodePudding user response:

In the spring configuration SqlSessionFactoryBean, specifies the location of the XML, to spring management not sweet? So long as the specified location,

CodePudding user response:

Spirng is configured, as long as the spring configuration file have to do is set the location of the mapping file
Such as: mybatis mapper - locations=classpath: mapper/*. XML
  • Related