[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] javax.persistence in eclipselink.jar

  These classes are within the EclipseLink jar because internally we have dependancies on some of these classes.  EclipseLink is still a JPA 1.0 compliant provider however and to support running in environments where the JPA 2.0 APIs are not available some classes are included in the EclipseLink jar.
  What errors are you seeing on JBoss?  If you are in a true JPA 1.0 environment then the application should not have access to any of the included classes.

Goerler, Adrian wrote:
Hi Eric,
I am puzzled by the fact that in trunk eclipselink.jar contains *some selected* classes from javax.persistence. Actually, I don’t see why eclipselink.jar should contain classes from javax.persistence at all. But if it contains these classes, it should contain the entire API, I think. Moreover the selection is not complete as it for example does not contain javax.persistence.Query, which has been changed in 2.0.
In the trunk/build.xml, I find the comment
# 360:            <!-- JPA 1.1/2.0 concurrent dev solution: New classes from javax.persistence 2.0 -->
So, likely, this is just some leftover from 1.2.
(I am currently testing on JBoss where I am seeing a mixed 1.0/2.0 API which causes some confusion) ;-)
Adrian Görler

Pflichtangaben/Mandatory Disclosure Statements: http://www.sap.com/company/legal/impressum.epx

_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-dev