
|
If you were logged in you would be able to see more operations.
|
|
|
|
PersistenceCapable class CircRef { int id; CircRef next; CircRef prev; }
2 persistent objects (rows) CircRef o1 and CircRef o2 with o1.next==o2 and o2.prev==o1 in the database.
If you query the 2 rows you get 2 objects in memory - all ok.
If you query the 2 rows with fetchgrous set for prev and next you get 3 objects in memory with o2.prev!=o1.
o2.prev should be set to o1 from the cache, not to a new object.
|
|
Description
|
PersistenceCapable class CircRef { int id; CircRef next; CircRef prev; }
2 persistent objects (rows) CircRef o1 and CircRef o2 with o1.next==o2 and o2.prev==o1 in the database.
If you query the 2 rows you get 2 objects in memory - all ok.
If you query the 2 rows with fetchgrous set for prev and next you get 3 objects in memory with o2.prev!=o1.
o2.prev should be set to o1 from the cache, not to a new object. |
Show » |
Sort Order:
|