This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JPA Certification (OCEJPA) and the fly likes what is Meta Model? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » JPA Certification (OCEJPA)
Bookmark "what is Meta Model?" Watch "what is Meta Model?" New topic

what is Meta Model?

Singh Harmeet
Ranch Hand

Joined: Aug 05, 2011
Posts: 115

what is Meta Model in JPA and it is the part of JPA exam?

With Regards :-
Harmeet Singh
Bobby Jakachira

Joined: Jun 01, 2010
Posts: 14
Yes it is part of the exam

Metamodel API allows you to use STRONGLY typesafe queries when using Java persistence interface.

A simple example is you won't refer to column names in your queries with the physical column names but you utilise the Metamodel class of the entity.

Each entity have a corresponding Metamodel class

tbl_persons.age (table_name.column_name)

Person_.age (Metamodel).

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: what is Meta Model?
It's not a secret anymore!