Re: Persistent properties in Tapestry & Cayenne => NPE sometimes

From: Tomi N/A (hefes..mail.com)
Date: Mon Dec 18 2006 - 10:31:35 EST

  • Next message: Øyvind Harboe: "Re: Persistent properties in Tapestry & Cayenne => NPE sometimes"

    2006/12/18, Tomi N/A <hefes..mail.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.



    This archive was generated by hypermail 2.0.0 : Mon Dec 18 2006 - 10:32:09 EST