Replies: 2 comments 6 replies
-
Seems like you are missing <non-jta-data-source>...</non-jta-data-source> in your Also make sure to set
All that is described in the these two sections of the JPA docs. Please let us know if that works for you, thanks! |
Beta Was this translation helpful? Give feedback.
-
I had trouble migrating from 2.8x to 2.9.0-RC3, encountering with this error using PostgreSQL. My sandbox app was based on one from play-samples. I finally started from scratch and it works. I believe it is crucial to change (in
to this:
The project is here. Though it is a bit messy and used as a sandbox (beyond the original example). It is also one folder in a larger repo of examples. Many brain-cells died on this one. Unless clear in the documentation (and I missed it), it |
Beta Was this translation helpful? Give feedback.
-
Play version - 2.9.0-RC2
Java version - 11.0.1
Scala version - 2.13.12
sbt - 1.9.6
MySQL - 8.0
The application JPA was working well with older versions of play. But I am doing trials with 2.9.0-RC2 and It was not able to find the persistence provider. I have updated the javax.persistence imports with jakarta.persistence and updated the persistence.xml file as well.
I have followed the migration guide and some stack over flow threads as well with not much help. Please suggest where I should be looking to resolve this one. Thanks
Here is my xml file:
Here is the error I have been seeing.
Beta Was this translation helpful? Give feedback.
All reactions