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