Search code examples
javaeclipsejpafedora

javax.persistence missing JavaDoc


In Eclipse, in JPA Project (runs in Java SE), Properties->Javadoc location, I attached the JavaDoc at path

/usr/share/javadoc/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19/api/

The documentation for Java works but if I pass the mouse pointer over some JPA functions (ex. getTransaction().begin() ) I obtain the error message:

void javax.persistence.EntityTransaction.begin()

Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.

How can I fix this problem?


Solution

  • You should download Java EE API http://www.oracle.com/technetwork/java/javaee/documentation/apis-139520.html JPA is there.