ibatis applied