openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <mprud...@apache.org>
Subject Re: XTable and XSecondaryTable annotations
Date Fri, 16 Mar 2007 01:26:15 GMT

> I just assumed there was real code behind it...  :-)

Ahh ... the naïveté of youth :)



On Mar 15, 2007, at 6:20 PM, Kevin Sutter wrote:

> :-)  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
View raw message