JPA 2.0 Typesafe Criteria API and Annotation Processing Howto
Maia build subsystem now recognizes Java Annotation Processors. Most of JPA 2.0 implementations are expected to make use of the Pluggable Annotation Processing API to automatically generate static metamodel classes. Here is a list of steps required to generate JPA 2.0 metamodel and keep it up-to-date with Hibernate Static Metamodel Generator. For the simplicity in this sample project the processor jar file is added to the module dependencies. Enable annotation processing Select Obtain processors from project classpath option Add a processor class name to the Processors list Add a mod
JavaEE 6 Support in Maia
First Maia EAP brings you the following JavaEE support improvements: EJB 3.1 @Singleton Session Bean JPA 2.0 @ElementCollection attribute type, plus freshly allowed attribute types in embeddable objects (@OneToOne, @Embedded, etc.) JPA 1.0/2.0 with Hibernate provider will not throw false-positive warnings about certain JPA specification violations that occur because of differences in JPA and Hibernate.