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))

Sort Order: Ascending order - Click to sort in descending order
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 ;-)