This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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 agree. Here's the link:
subject: what is Meta Model?
It's not a secret anymore!