I added MyBatis framework and RESTful resources use it to query the DB. It works for /categories resource