openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject Re: XTable and XSecondaryTable annotations
Date Fri, 16 Mar 2007 01:20:25 GMT
:-)  Well, that would explain why it's not documented...  I actually did a
search through out the code tree looking for it, but I didn't look at the
code block for the case statement.  Stupid me.  I just assumed there was
real code behind it...  :-)

Have a good evening,
Kevin

On 3/15/07, Marc Prud'hommeaux <mprudhom@apache.org> wrote:
>
> Kevin-
>
> @XSecondaryTable has some attributes that @SecondaryTable doesn't have:
>
>      Index[] indexes() default {};
>      ForeignKey[] foreignKeys() default {};
>
> However, it doesn't look like we actually support using it yet, as
> per the following comment in AnnotationPersistenceMappingParser.java:
>
>                  case X_TABLE:
>                  case X_SECONDARY_TABLE:
>                  case X_SECONDARY_TABLES:
>                      // no break; not supported yet
>
>
>
> On Mar 15, 2007, at 2:00 PM, Kevin Sutter wrote:
>
> > Hi,
> > I have come across the @XTable and @XSecondaryTable(s) annotations
> > in the
> > org.apache.openjpa.persistence.jdbc package, but I don't see them
> > documented
> > in our manual anywhere.  I see where we have documented the
> > XJoinColumn(s)
> > annotations, but I haven't made the connection between these "X"
> > annotations.  Any help from the old Kodo folks?
> >
> > Thanks,
> > Kevin
>
>

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