From the Play! framework docs:
There is no built-in JPA implementation in Play 2.0; you can choose any available implementation. For example, to use Hibernate, just add the dependency to your project:
There is Ebean ORM built-in the Play 2.0 doesn't it meet your needs?
All you need to start working with it is just uncoment few lines in application.conf
, check this description for MySQL: https://stackoverflow.com/a/10007515/1066240
There is also squeryl http://squeryl.org/. Here is a nice tutorial on getting started: http://www.artima.com/articles/play2_scala_squeryl.html
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