Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-500

To-one relationships are broken on the client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2 branch
    • 1.2 branch
    • Core Library
    • None

    Description

      CayenneContext (used by the client tier) incorrectly intercepts relationship queries, resulting in null to-one relationships. The original issue was reported by Marcin Skladaniec:

      http://objectstyle.org/cayenne/lists/cayenne-user/2006/04/0105.html

      I reproduced it with a simple unit test PersistentObjectInContextTst.testToOneRelationship()

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: