JPA configuration for play framework 2

Posted by Jens J├Ąger on November 19, 2013

In my current play project we decided to use hibernate as JPA implementation.

Here is the configuration we use:

Dependencies in project/Build.scala

Database configuration in conf/application.conf

Persistence unit in conf/META-INF/persistence.xml

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. notme Wed, 20 Nov 2013 18:55:14 CET

    Hi!

    We run a play 1.x application using jpa/hibernate. We think about migration to 2.x sometime next year.
    It would be nice if you keep posting about your experiences with play 2.x and jpa (specially in contrast to the jpa implemenation in play 1.x, what are the main differences)

    Thanks!

    M.

  2. Jens Sat, 30 Nov 2013 13:55:00 CET

    Hi M.,

    thanks for your commit. I will try to find some time to blog more about the topic.

    Jens

Comments

Information about Data protection