Migrate HibernateDaoSupport#getSession() usage

Proprietary

Migrate HibernateDaoSupport#getSession() usage to HibernateDaoSupport#getSessionFactory()#getCurrentSession() and annotate the methods with @Transactional.

io.moderne.java.spring.hibernate.MigrateDaoSupportGetSession
mod run . --recipe=io.moderne.java.spring.hibernate.MigrateDaoSupportGetSession

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.