Issue Details (XML | Word | Printable)

Key: NUCRDBMS-476
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Support N-1 unidirectional join table relation

Created: 23/Nov/10 04:24 PM   Updated: 10/Dec/10 07:49 AM   Resolved: 24/Nov/10 08:21 PM
Component/s: ORM
Affects Version/s: None
Fix Version/s: 2.2.0.release


 Description  « Hide
A minority interest situation is where the user has

class A
{
    ...
}

class B
{
    A a;
    ...
}

and wants to map the relation using a join table. This is effectively an N-1 uni via join table (no collection present). We need to be able to
1. generate the schema of the join table and its respective indices/FKs
2. do inserts (from InsertRequest/UpdateRequest)
3. do fetches (from FetchRequest)
4. do updates/deletes (from UpdateRequest/DeleteRequest)

Andy Jefferson added a comment - 24/Nov/10 07:15 PM
SVN trunk now generates the schema (join table), does inserts, and also fetches the related object

Andy Jefferson made changes - 24/Nov/10 07:15 PM
Field Original Value New Value
Assignee Andy Jefferson [ andy ]
Fix Version/s 2.2.0.release [ 10932 ]
Andy Jefferson added a comment - 24/Nov/10 08:21 PM
SVN trunk now has this supported and tested

Andy Jefferson made changes - 24/Nov/10 08:21 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 10/Dec/10 07:49 AM
Status Resolved [ 5 ] Closed [ 6 ]