Menu

Home

Agustin Muñoz

Welcome to the JPA Console Wiki!

JPA Console is an Eclipse plugin for running JPA queries. The Alpha version has been released. The version is intended to be a proof of concept to start receiving feedback. Beta version is going to be released pretty soon.

How to install Alpha version

For this Alpha version, there is no update site. In order to get JPA Console installed, download the Jar file and drop it in the plugin folder of your Eclipse home folder.






Open Eclipse (it may take a few more seconds than regular start, just the firts time), go to Window/Show View/Other and look for JPA Console.

Configuration

In order to start running JPA Queries, a JPA configuration must be created. The configuration must include the persistence.xml file with all your persistent classes listed, the JPA provider jars (for now Hibernate is the only one full supported, you can use the built-in libraries for a quick configuration), also you have to provide the location of your persistent classes (those annotated with @Entity) and that may be an Eclipse project in your workspace or a jar.
Once configured, you are good to go.
Check this page [Playing around with JPA Console] to use an example project to test the plugin.

What is missing on this Alpha

  1. Content assist for Criteria code (autocomplete for classes, method, etc.)
  2. Error marker (same as the Java editor, you will see error marks for compiling failures)

... coming soon on Beta release!


Related

Wiki: Playing around with JPA Console