This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have been trying to pick up the Play! Framework recently and decided to go through the tutorial they provide for building a blog. I am aware that this is using JPA which is no longer supported by Play! and has been replaced by Ebeans. However, I decided to give it a go anyway and ad-hoc it a bit. Anyway, I got to the part saying that I have got to add a connect method (see the tutorial fro details) and I have to make use of the find() method found in play.jpa.Model. However, no such method exists in play.ebean.Model. I am looking to find an alternative or another approach I could take for this method.
I have done some research and have come across the ebean.find() method. However, I do not see how I can use this for my purpose. I would greatly appreciate it if anyone could give me any advice on how to move forward. Thanks in advance.