Hi,
  The warning message implies that the canonical metamodel classes [1]
corresponding to the persistent domain classes had not been generated and/or
available. Since JPA 2.0, type-safe queries [2] are made possible with the
introduction of instantiated meta- classes and these classes could be
generated from annotated Java source during normal compilation process by
invoking an annotation processor [3].
  If the application is not using type-safe queries -- one can safely ignore
these warnings -- but I agree they do appear to be annoying. 

[1] http://www.ibm.com/developerworks/java/library/j-typesafejpa/#N102F5
[2] http://www.ibm.com/developerworks/java/library/j-typesafejpa/
[3] http://openjpa.apache.org/builds/latest/docs/manual/manual.html#d0e11101
 

-----
Pinaki 
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/em-getMetamodel-exceptions-tp5966203p5980260.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to