eclipse default jpa implementation library where to download?
In eclipse, "default implementation library", what jars files do I need to include if I don't want to use the server runtime?
I am referring to this tutorial http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jpt.doc.user/task_create_new_project.htm
a source to share
Depends on which implementation you want to use. There are currently three of the most popular implementations: Hibernate, TopLink, and EclipseLink.
I know about hibernation that the README file explains which jars are required for which features. If you are using JPA you must have some kind of EntityManager (hibernate can be used without EntityManager too) so you need all its dependencies.
To download the hibernate JPA implementation use this link (search for hibernate-entitymanager). JPA requires a hibernate core, annotations and an entity manager. If you are using all the jars in these three packs, you should be fine. But I highly recommend that you read the README files.
a source to share
Follow Using TopLink JPA with Dali to get started with Toplink Essentials (JPA reference implementation). To get the mentioned banks ( toplink-essentials.jar
and toplink-essentials-agent.jar
), download them from there or if you are using the Maven, from Java.NET Repository the Maven .
PS: Please note that after 2.0-b36 the file is toplink-essentials-agent.jar
no longer needed as the agent tool is now integrated into toplink-essentials.jar
. So you can do as below.
$ java -javaagent:toplink-essentials.jar client.Client
a source to share