Replaced Hibernate with ibatis