cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomi N/A" <hef...@gmail.com>
Subject Re: Persistent properties in Tapestry & Cayenne => NPE sometimes
Date Mon, 18 Dec 2006 15:31:35 GMT
2006/12/18, Tomi N/A <hefest@gmail.com>:

> The trick is to be able to attach it to the correct context, if you
> have multiple (as you probably do).
> Try using the DataContext you store in your session (if that's where
> you put it).

Oh, one more thing: obviously, you have to change your DataObject
superclass to your extended Class (say,
SerializableCayenneDataObject). You do that in the modeler, datamap
configuration, entity defaults settings group, custom superclass
field.

Cheers,
t.n.a.

Mime
View raw message