First working method with JPA. There is an error during compile, but method works