Does Oracle TopLink not include the JPA classes?
I am trying to create a JPA/TopLink project. I have downloaded the latest version of the TopLink jar (12c 12.1.2) and made sure to include it in the classpath.
The problem is that I cannot seem to find any of the javax.persistence.* classes like Entity, Column etc. I though that all implementations of JPA such as TopLink, Hibernate etc would include those classes. Is that not true? How else should I get this JPA/Toplink project to work?
According to this article, Toplink 12.1.2 is built off of EclipseLink and supplies extra goodies such as support for RESTful services, meaning the javax.persistence.*
packages are contained within the eclipselink.jar
file. This file should exist within the jlib
folder of the toplink.zip
download.