openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: Annotations and JPA
Date Mon, 05 Nov 2007 16:47:10 GMT
Hi,

JPA annotations are parsed in the AnnotationPersistenceMetaDataParser
and  AnnotationPersistenceMappingParser. @Column is a JDBC-specific
annotation, so is handled by AnnotationPersistenceMappingParser.

Note that XML configuration files override the JPA annotations.

-Patrick

On Nov 5, 2007 7:09 AM, Julien Martin <balteo@gmail.com> wrote:
> Hello,
>
> I am looking into the source code of OpenJpa and I am trying to better
> understand how it is implemented.
> My question relates to annotation processing by OpenJpa. Let's take a simple
> JPA annotation : [code]@Column[/code].
>
> I would like to know:
> -What is the class in charge of processing the annotation (at runtime I
> suppose)?
> -How and when is the relevant method of that class invoked (at runtime I
> suppose)?
>
> Any clue welcome,
>
> Thanks in advance for your replies,
>
> Julien.
>



-- 
Patrick Linskey
202 669 5907

Mime
View raw message