Skip to content

ly0199/mybatis-project-annotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mybatis-project-annotation

MyBatis 注解形式使用

  • 在测试时如果测试方法不加@Transactional注解时,日志会打印xxxx will not be managed by Spring,根据日志信息展示也是使用2个不同的SqlSession,此时一级缓存无效

  • com.lijq.mybatis.config.MyBatisConfiguration 中引入具体配置相关内容

About

MyBatis 注解形式使用

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages