Issue Details (XML | Word | Printable)

Key: NUCRDBMS-730
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Persist of M-N relation is inefficient; currently does SELECT to see if present then INSERT. Should just do INSERT from owner side of relation

Created: 21/Dec/13 11:36 AM   Updated: 21/Dec/13 11:36 AM
Component/s: ORM
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
You typically get SQL like :-

SELECT 1 FROM CUSTOMER_SUPPLIER WHERE CID_OID=<2> AND SID_EID=<2>
INSERT INTO CUSTOMER_SUPPLIER (CID_OID,SID_EID) VALUES (<2>,<2>)

Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.