JPA 2.0 Criteria

Gavin King suggests a different approach to the JPA EG with regard to the new Criteria api. This approach comes in three layers:

  • A metamodel API for JPA
  • A query API where types and attributes are specified in terms of metamodel API objects
  • Support for third-party tooling which would generate a typesafe metamodel from the entity classes

 

yanai 16/12/2008 - 23:40
Syndicate content