ibatis cleanup