Issue Details (XML | Word | Printable)

Key: NUCCORE-1091
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Add metadata check for the situation where the user specifies a class as persistable in annotations yet omits @PrimaryKey then in ORM metadata tries to set a PK field

Created: 13/Dec/13 08:16 PM   Updated: 17/Dec/13 08:19 AM   Resolved: 14/Dec/13 12:16 PM
Component/s: MetaData
Affects Version/s: None
Fix Version/s: 3.2.11


 Description  « Hide
Basic stuff like primary-key has to be set in the root metadata definition.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 14/Dec/13 12:16 PM
GitHub master adds a check for this (primary-key must be specified in annotations of JDO XML file)