PlayJava - JPA spec still on 2.1

Hi there,

I am using Play for Java. As of 2.7.x, I have noticed that Play is still using JPA 2.1 when 2.2 is out for a while now. I have not been able to find any mention in the roadmap regarding this.

I have also noted that the JPA 2.2 module on maven is a beta version. Is this the reason why Play has not upgraded to JPA 2.2? Also, how could a specification be on beta? Shouldn’t the APIs be standardised before releasing the standard?

Why you say it is still in beta? That’s not what I see.
https://search.maven.org/artifact/javax.persistence/javax.persistence-api/2.2/jar

Are you referring to https://search.maven.org/artifact/org.hibernate.javax.persistence/hibernate-jpa-2.2-api/1.0.0.Beta2/pom?

That’s not the spec, but Hibernate implementation of it.

About why is Play not using it yet, well I think the reason is that Play is using the Hibernate one and as you noticed, it’s not ready yet.

Cheers,

Renato

1 Like