updated, changed DB from Hibernate to Mybatis.