openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <>
Subject Re: XTable and XSecondaryTable annotations
Date Thu, 15 Mar 2007 23:35:33 GMT

@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

                 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

View raw message