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

Intelligent lazy fault detection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1 [LEGACY]
    • 3.0 beta 1
    • Core Library
    • None
    • cayenne-1.1M6, MS SQL Server

    Description

      My model has a to-one relation A->B that sometimes are empty. Is that
      supported? How can I test if a B exist for a given A? Checking for
      (a.getB() == null) does not work. It seems like a.getB returns a empty
      object with every attribute set to null.

      See:
      http://objectstyle.org/cayenne/lists/cayenne-user/2004/05/0061.html
      http://objectstyle.org/cayenne/lists/cayenne-user/2004/05/0065.html

      Attachments

        1. CAY-132.tar.gz
          6 kB
          Andrus Adamchik

        Activity

          People

            andrus Andrus Adamchik
            halset Tore Halset
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: