Extend SqlSessionDaoSupport instead of SqlMapClientTemplate
ProprietaryA DAO extending Spring's SqlMapClientTemplate extends MyBatis-Spring's SqlSessionDaoSupport instead, and the template operations it called as its own are called on getSqlSession().
io. moderne. mybatis. ReplaceSqlMapClientTemplateSuperclassWithDaoSupportmod run . --recipe= io. moderne. mybatis. ReplaceSqlMapClientTemplateSuperclassWithDaoSupportInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.