
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
JDO
|
| Affects Version/s: |
1.1.0-beta-5
|
| Fix Version/s: |
1.1.0-beta-6
|
|
|
Where we have a relation between A and B and the FK is stored in the table of B. A container 2 objects, 1 of type B1, and another of type B2. When we retrieve the field A.b1 or A.b2 we want the fetch to (left outer) join to B to get the id, and then join further to B1 or B2 to make sure we retrieve the object of the correct type.
JPOX 1.1.0-beta-5 only does the left outer join to B, and so we get the first object that it finds - which may be of the incorrect type.
|
|
Description
|
Where we have a relation between A and B and the FK is stored in the table of B. A container 2 objects, 1 of type B1, and another of type B2. When we retrieve the field A.b1 or A.b2 we want the fetch to (left outer) join to B to get the id, and then join further to B1 or B2 to make sure we retrieve the object of the correct type.
JPOX 1.1.0-beta-5 only does the left outer join to B, and so we get the first object that it finds - which may be of the incorrect type. |
Show » |
|