Bookase, SpringMvc and Hibernate