kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Relational Column property contents are not updated when the remote data source changes #204

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create two datasources connected to remote SQL tables
2. Set up a one-to-many relationship from table A to table B (so B should have 
a foreign key 
pointing at ids in A)
3. In the schema for A, set lazy loading to false for the relational column.
4. Make sure the source tables for A and B have some data.
5. Through Persevere, load /A/. Note that objects are returned with an array of 
B objects.
6. Outside of Persevere, change the data in B.  Delete some rows that point at 
a specific A object 
and add other rows that point at the same object.
7. Through Persevere, load /A/ again.

What is the expected output? What do you see instead?
I expected to see the new data in the array for object A.
Instead, I see the old data for object A (the same as in step 5).

What version of the product are you using? On what operating system?
Nightly build from June 10 2009

Please provide any additional information below.

Original issue reported on code.google.com by dsta...@gmail.com on 11 Jun 2009 at 3:26

GoogleCodeExporter commented 8 years ago

Original comment by kris...@gmail.com on 29 Jun 2009 at 5:36