Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for Bug 386939 - Incorrect DDL generation for @ManyToMany Map<Entity, Entity> causing duplicate primary key exception.

Fix checked in to 2.4.1 and trunk

The issue was the table creation was not adding the key of the map as part of the primary key on the relation table when mapping a map.
The correction was to make all parts of that relation table part of the primary key.

Reviewed by: Tom Ware

Add test (testBug38639) to DDLGenerationJunitTestSuite.

Tested with JPA and Core LRG



Back to the top