Java – how do I find the JPA version?

How do I understand the JPA version I use in EJBs?

to greet

Solution

Using the Java EE 5 container, you will get JPA 1.0 (specified in JSR 220 – Enterprise JavaBeans, version 3.0)

Using the Java EE 6 container, you can obtain JPA 2.0 (specified in JSR 317: Java persistence 2.0, now dedicated)

If you provide your own JPA implementation, it depends on the implementation and version you provide:)

Here are some JPA 2.0 implementations and their respective versions:

> EclipseLink 2.0> Hibernate EntityManager 3.5> OpenJPA 2.0> datanucleus 2.1. 0

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>