[Mono-list] Db4o don't update object

Alessandro75 airraid75 at gmail.com
Thu Sep 11 14:03:19 EDT 2008




Benjamin Podszun wrote:
> 
> Hi Alsessandro.
> 
> On Wed, 10 Sep 2008 09:50:06 -0700 (PDT), Alessandro75
> <airraid75 at gmail.com> wrote:
>> I try to update an complex object,
>> but the result is :-(
>> 
>> My code is like this :
>>
> Db4oFactory.Configure().ObjectClass(typeof(myComplex)).CascadeOnUpdate(true);
>> Get the object myComplex...
>> update.. close the db
> 
> What does update mean here? Changing some stuff inside the object only?
> Doing that and .set()ing the object again? What are you doing here?
> 
>> When i open the db, the object is not updated....
>> Ideas ???
> 
> Like JB said: The guys over at db4o's place are quite helpful. Or provide
> more information.
> 
> Regards,
> Ben
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

Hi, yes
the main object is Hashtable derived....
So i change a property of this class (a simple object)
Call the Set() metod, close the db and voila...
Nothing of nothing......
If i call Commit() the result is the same....
Tanks
-- 
View this message in context: http://www.nabble.com/Db4o-don%27t-update-object-tp19415045p19440807.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list