what ORM does Play Framework version 1 use? From what I read from the site, it mentions JPA, when I search JPA I couldn't find the download site for the ORM framework. CMIIW, JPA seems to be a feature from Java and not a ready to use ORM framework.
does Play uses Hibernate? If yes, how could I create the model class in Java and the table in the database is automatically created? How do I use the .find() method in Hibernate?
Thank you.
Play Framework 1.x uses Hibernate. You extend Play's Model support class, mark your objects with necessary annotations, and Play takes care of the rest. Take a look at Play documentation, for example chapter Persist your object model with Hibernate or JPA persistence: Finding objects - those should answer your questions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With