You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Todd O'Bryan <to...@mac.com> on 2004/04/25 05:22:56 UTC

CayenneDataObjects persisting

About a year ago, in Tapestry 2.4, there was discussion about how to 
deal with CayenneDataObjects that don't like to be serialized.

The solution involved subclassing DefaultValuePersister and registering 
CayenneDataObjects as immutable.

Unfortunately, I can't find DefaultValuePersister in Tapestry 3.0. 
Anybody know how to solve the problem currently?

Sorry for posting to both lists, but I figured someone might be on one 
but not the other and would have the answer handy.

Todd


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: CayenneDataObjects persisting

Posted by Bryan Lewis <br...@maine.rr.com>.
Could you post a small example of a case where you get a hollow
CayenneDataObject?  I've been trying cayenne for the last week and I'm
not seeing this problem.  I do pass CDO's from one page to another as
parameters to setter methods.  Thanks.


----- Original Message ----- 
From: "Todd O'Bryan" <to...@mac.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Sunday, April 25, 2004 11:06 PM
Subject: Re: CayenneDataObjects persisting


> Yep. That's the post I found. And DefaultValuePersister doesn't exist
> in Tapestry 3.0, and I still get hollow CayenneDataObjects when I pass
> them
> as parameters to methods.
>
> My workaround currently is to refetch the object, but it sure would be
> nice if I didn't need to do that.
>
> Todd
>
> On Apr 25, 2004, at 9:38 PM, Robert wrote:
>
> > Todd O'Bryan wrote:
> >
> >> About a year ago, in Tapestry 2.4, there was discussion about how
to
> >> deal with CayenneDataObjects that don't like to be serialized.
> >> The solution involved subclassing DefaultValuePersister and
> >> registering CayenneDataObjects as immutable.
> >> Unfortunately, I can't find DefaultValuePersister in Tapestry 3.0.
> >> Anybody know how to solve the problem currently?
> >> Sorry for posting to both lists, but I figured someone might be on
> >> one but not the other and would have the answer handy.
> >> Todd
> >
http://www.objectstyle.org/cayenne/lists/cayenne-user/2003/02/0080.html
> >
> >
>
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
tapestry-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: CayenneDataObjects persisting

Posted by Todd O'Bryan <to...@mac.com>.
Yep. That's the post I found. And DefaultValuePersister doesn't exist 
in Tapestry 3.0, and I still get hollow CayenneDataObjects when I pass 
them
as parameters to methods.

My workaround currently is to refetch the object, but it sure would be 
nice if I didn't need to do that.

Todd

On Apr 25, 2004, at 9:38 PM, Robert wrote:

> Todd O'Bryan wrote:
>
>> About a year ago, in Tapestry 2.4, there was discussion about how to 
>> deal with CayenneDataObjects that don't like to be serialized.
>> The solution involved subclassing DefaultValuePersister and 
>> registering CayenneDataObjects as immutable.
>> Unfortunately, I can't find DefaultValuePersister in Tapestry 3.0. 
>> Anybody know how to solve the problem currently?
>> Sorry for posting to both lists, but I figured someone might be on 
>> one but not the other and would have the answer handy.
>> Todd
> http://www.objectstyle.org/cayenne/lists/cayenne-user/2003/02/0080.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: CayenneDataObjects persisting

Posted by Robert <ca...@linuxmail.org>.
Todd O'Bryan wrote:

> About a year ago, in Tapestry 2.4, there was discussion about how to 
> deal with CayenneDataObjects that don't like to be serialized.
> 
> The solution involved subclassing DefaultValuePersister and registering 
> CayenneDataObjects as immutable.
> 
> Unfortunately, I can't find DefaultValuePersister in Tapestry 3.0. 
> Anybody know how to solve the problem currently?
> 
> Sorry for posting to both lists, but I figured someone might be on one 
> but not the other and would have the answer handy.
> 
> Todd
> 
> 
http://www.objectstyle.org/cayenne/lists/cayenne-user/2003/02/0080.html


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org