Pinaki Poddar <ppoddar@...> writes:

> 
> 
> 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 

I am having the same issue.  I was on openjpa 2.0, upgraded today to 2.1, I am
using the Ant Task for enhancement, but the _.class files do not seem to be
generated.

Is there a switch on the Tasks that needs to be set?

-chris


Reply via email to