Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>It would be awesome if someone also knows the steps for setting this up in Eclipse (I assume it's as simple as setting up an annotation processor, but you never know)</p> </blockquote> <p>Yes it is. Here are the implementations and instructions for the various JPA 2.0 implementations:</p> <h3>EclipseLink</h3> <ul> <li><a href="http://wiki.eclipse.org/UserGuide/JPA/Using_the_Canonical_Model_Generator_(ELUG)" rel="nofollow noreferrer"><code>org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor</code></a></li> </ul> <h3>Hibernate</h3> <ul> <li><code>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</code></li> <li><a href="http://in.relation.to/2009/11/09/hibernate-static-metamodel-generator-annotation-processor" rel="nofollow noreferrer">http://in.relation.to/2009/11/09/hibernate-static-metamodel-generator-annotation-processor</a></li> </ul> <h3>OpenJPA</h3> <ul> <li><code>org.apache.openjpa.persistence.meta.AnnotationProcessor6</code></li> <li><a href="http://openjpa.apache.org/builds/2.4.1/apache-openjpa/docs/ch13s04.html" rel="nofollow noreferrer">http://openjpa.apache.org/builds/2.4.1/apache-openjpa/docs/ch13s04.html</a></li> </ul> <h3>DataNucleus</h3> <ul> <li><code>org.datanucleus.jpa.JPACriteriaProcessor</code></li> <li><a href="http://www.datanucleus.org/products/accessplatform_2_1/jpa/jpql_criteria_metamodel.html" rel="nofollow noreferrer">http://www.datanucleus.org/products/accessplatform_2_1/jpa/jpql_criteria_metamodel.html</a></li> </ul> <hr> <p>The latest Hibernate implementation is available at:</p> <ul> <li><a href="https://mvnrepository.com/artifact/org.hibernate/hibernate-jpamodelgen/" rel="nofollow noreferrer">https://mvnrepository.com/artifact/org.hibernate/hibernate-jpamodelgen/</a></li> </ul> <p>An older Hibernate implementation is at:</p> <ul> <li><a href="http://repository.jboss.com/maven2/org/hibernate/hibernate-jpamodelgen/1.0.0.Final/hibernate-jpamodelgen-1.0.0.Final.jar" rel="nofollow noreferrer">http://repository.jboss.com/maven2/org/hibernate/hibernate-jpamodelgen/1.0.0.Final/hibernate-jpamodelgen-1.0.0.Final.jar</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload