cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Menard" <kmen...@servprise.com>
Subject RE: Cleaning up ROP
Date Wed, 07 Nov 2007 18:33:38 GMT
Interestingly, I can't get the code to hit readObject() when using CDO.
writeObject() is definitely being called from the CDO, though.  So, it's
like something with the Tapesty data squeezer.

When using a PO, readObject and writeObject are both called (added by
me).

In no event does DataContext's readObject or writeObject execute.

At this point, I'm going to have to table the work for a bit.  After two
days, I'm not much further along than when I started :-/  Maybe the time
away will help me think about the problem a bit more.  In the interim,
at least the copy & paste method works . . . just more invasive than I
was hoping for.

-- 
Kevin

-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Wednesday, November 07, 2007 11:23 AM
To: dev@cayenne.apache.org
Subject: Re: Cleaning up ROP

I think we can solve serialization problems... CDO should be  
reattached indirectly inside DataContext.readObject(..). I am  
surprised that didn't work for PersistentObject. You may add a  
breakpoint in DataContext.readObject(..) to see what really happens  
there.

Andrus


Mime
View raw message