[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Is TABLE_PER_CLASS supposed to work with eclipselink-2.0.0.v20090731-r4765 (m6)

Hello,

I would like to know if InheritanceType.TABLE_PER_CLASS is supposed to work with eclipselink-2.0.0.v20090731-r4765 (milestone 6). If I try to use it I always get the following exception for ManyToMany bidirectional relations:

[java] Exception [EclipseLink-80] (Eclipse Persistence Services - 2.0.0.v20090731-r4765): org.eclipse.persistence.exceptions.DescriptorException
[java] Exception Description: The relation key field [DEPARTMENT.departments_ID] for this mapping must exist in the relation table.
[java] Mapping: org.eclipse.persistence.mappings.ManyToManyMapping[students]
[java] Descriptor: RelationalDescriptor(Department --> [DatabaseTable(DEPARTMENT)])


Best regards,
Martin