RSS

Archivo de la etiqueta: metamodel

Criteria JPA 2.0 and database metamodel auto generation with Maven


In the previous post JPA basic example with EntityManager , Spring and Maven we use JPA through an entityManager instance.

In this post we are going how we can create a database metamodel in our project (At this point let’s be clear, I’m not talking about annotated Java classes with @Entity, but Java classes to prepare queries from them).For that purpose we are going to use the JPA 2.0 Criteria API.
Read the rest of this entry »

Anuncios
 
7 comentarios

Publicado por en 7 julio, 2011 en J2EE, JPA

 

Etiquetas: , , , , , ,

 
A %d blogueros les gusta esto: