Hi,
Am new to flex coding and have been able to get basic hibernate3 + lcds
examples to work. However, am unable to progress with a delete operation
on a non-trivial object graph with one-to-many and many-to-one
relationship. Is there a tutorial that explains this. I have searched
the internet and the examples I find do not go into heirarchial data
with Hibernate. Any example/tutorial that you can point me to will be
very helpful.
Eg..
Country has Regions (ArrayCollection). I have 2 datagrids, one
displaying countries and the other displaying regions. On change of
country, I update the region datagrid using the following call
ds_region.fill(regionAC,"region-by-country",{countryId:selectedCountry.c\
ountryId});
When I try to delete a selectedRegion with
ds_region.deleteItem(dg_region.selectedItem as StRegion);
I get a conflict from the server. I looked at the stacktrace and it
indicates that the region I am trying to delete is still in the graph of
the Country object on the server. How do I get this to work?
Thanks