Where can I find a JPA2 Maven dependency?

后端 未结 7 1818
情话喂你
情话喂你 2020-12-09 01:50

I\'m trying to build an implementation agnostic maven module which relies on JPA2. Unfortunately, the only Maven JPA dependency is JPA1 based, and consequently, I cannot us

7条回答
  •  半阙折子戏
    2020-12-09 02:30

    This are the most relevant and official API for JPA2 from EclipseLink:

    
        
            http://download.eclipse.org/rt/eclipselink/maven.repo/
            eclipselink
            default
            Repository for library EclipseLink (JPA 2.0)
        
    
    
    
        
            org.eclipse.persistence
            javax.persistence
            2.0.3
            provided
        
    
    

    Unlike Hibernates API this are from official specification and support better generics when it comes to use Criteria API.

提交回复
热议问题