[JIRA] Commented: (CAY-965) Objects that do NOT exist must be cached

From: JIRA (Øyvind)
Date: Wed Jan 16 2008 - 15:54:32 EST

  • Next message: Mike Kienenberger (JIRA): "[JIRA] Closed: (CAY-965) Objects that do NOT exist must be cached"

        [ https://issues.apache.org/cayenne/browse/CAY-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683#action_12683 ]

    Øyvind Harboe commented on CAY-965:
    -----------------------------------

    Uhhh.... strike this, sorry. Not a bug in Cayenne.

    We had a workaround in our code for a foreign key reference to a non-existant record. Bascially we catch a FaultFailureException and return null, however we do not cache this workaround so we get a FaultFailureException every time we try to look up that relationship.

    BTW! Cayenne 3.0 works great! We found 2-3 problems in our application (great compatibility) and not one in Cayenne! We upgraded from Cayenne 1.2 for a pretty decent sized application that had all sorts of nasty workarounds for buggy databases!

    > Objects that do NOT exist must be cached
    > ----------------------------------------
    >
    > Key: CAY-965
    > URL: https://issues.apache.org/cayenne/browse/CAY-965
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Environment: any
    > Reporter: Øyvind Harboe
    > Assignee: Andrus Adamchik
    >
    > We're seing that thousands of queries that return 0 rows:

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Wed Jan 16 2008 - 15:54:57 EST