Re: Unique persistent object and caching issue

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Jul 15 2008 - 16:33:12 EDT

  • Next message: Fredrik Liden: "RE: What to do with new objects if validation fails on Commit"

    Cool! Glad to hear that helped... Issues resulting from users
    forgetting to check "To Dep PK" come up pretty often. I wonder if we
    can make Cayenne smarter in the backend to at least report potential
    problems as a modeler warning or something.

    Andrus

    On Jul 15, 2008, at 8:27 PM, Laurent Marchal wrote:

    > Nice this solve the problem !
    >
    > Sorry to bother you with that, and thanks a lot.
    > It's a little bit complicated to understand what do Cayenne
    > internally, but luckylly you were there.
    >
    > Laurent.
    >
    > Andrus Adamchik wrote:
    >> Could you check the "To Dep PK" checkbox for this relationship and
    >> see if that makes a difference.
    >>
    >> Andrus
    >>
    >>
    >> On Jul 15, 2008, at 6:43 PM, Laurent Marchal wrote:
    >>> <db-relationship name="toMasterScheduleAux" source="SNAME"
    >>> target="SNAME_AUX" toMany="true">
    >>> <db-attribute-pair source="SKDID" target="SKDID"/>
    >>> </db-relationship>
    >>
    >>
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Tue Jul 15 2008 - 16:33:44 EDT