Catch PersistenceException where only iBatis threw SQLException
ProprietaryChanges catch (SQLException e) to catch (PersistenceException e) where the try block's only source of SQLException is iBatis 2, whose MyBatis 3 counterparts throw the unchecked org.apache.ibatis.exceptions.PersistenceException.
io. moderne. mybatis. CatchSqlExceptionFromIbatismod run . --recipe= io. moderne. mybatis. CatchSqlExceptionFromIbatisInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.