openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mauricio Salatino" <sala...@gmail.com>
Subject Re: Hi.. i have a question about annotations parser
Date Thu, 24 Jan 2008 16:55:26 GMT
I'm asking which is the class in charge of the process of the annotations in
open JPA
which is the class that get the declaredAnnotations and then process the
class like an entity..
Thanks!


On Jan 24, 2008 2:52 PM, Michael Dick <michael.d.dick@gmail.com> wrote:

> Hi Mauricio,
>
> <short answer>
> If you've listed the classes in persistence.xml or have provided a
> mapping-file in persistence.xml then OpenJPA will only parse those files.
> Otherwise OpenJPA will scan all the classes on the classpath (with a few
> exceptions like java.lang classes) and look for Entity annotations.
> </short answer>
>
> The long answer depends on what you mean by parsing the entity
> annotations.
> If you're wondering about running any of the ant tasks, or their
> corresponding tools, then there are other ways to limit the classes that
> are
> processed. At runtime OpenJPA follows the guideline above though.
>
> Hope this helps,
>
> -Mike
>
> On Jan 24, 2008 8:48 AM, Mauricio Salatino <salaboy@gmail.com> wrote:
>
> > Hi .. i wanna know in which classes open jpa parse the entity
> annotations?
> >
> >
> > --
> > - Salatino Mauricio -
> >
>



-- 
- Salatino Mauricio -

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message