I cannot somehow import the play.db.jpa.Model
lib into my Model, it can only find play.db.ebean.Model
. Is there any way to import this?
thanks
That is because play.db.jpa.Model
is Play 1.x and play.db.ebean.Model
is Play 2.x.
To use JPA in Play 2.x, see http://www.playframework.org/documentation/2.0/JavaJPA
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