DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-463
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Dmitry
Votes: 0
Watchers: 0

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

Foreign Keys specified on class dont work correctly

Created: 11/Feb/10 03:07 PM   Updated: 17/Mar/10 08:54 PM   Resolved: 11/Feb/10 04:00 PM
Component/s: MetaData
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2

 Description  « Hide
1) updateAction value are set from deleteAction ( line 621)
2) specifying members for foreign key is implossible IndexOutOfBounds (but @Columns works) (I use DN v2.0.0m2 line 2172 has to be fieldMapping.getDataStoreMapping(J) but not fieldMapping.getDataStoreMapping(I))

Dmitry added a comment - 11/Feb/10 03:11 PM
Copy-Paste is bad practice ))

Andy Jefferson added a comment - 11/Feb/10 04:00 PM
SVN trunk has these typos fixed. Thx. The RDBMS one is NUCRDBMS-303

"Ctrl-C Ctrl-V" is a classic design pattern :-), and indeed could be considered bad practice, but then specifying FK info in annotations is also considerable as bad practice ;-)

Andy Jefferson made changes - 11/Feb/10 04:00 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 2.0.2 [ 10874 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 17/Mar/10 08:54 PM
Status Resolved [ 5 ] Closed [ 6 ]