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

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.

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)

Andy Jefferson made changes - 14/Dec/13 12:16 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.2.11 [ 12058 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 17/Dec/13 08:19 AM
Status Resolved [ 5 ] Closed [ 6 ]