reimplemented BookManager to use JPA instead of JDBC Template