missing toOne

From: Tore Halset (halse..vv.ntnu.no)
Date: Thu May 27 2004 - 04:56:36 EDT

  • Next message: johannes schmidt: "Problem setting FK"

    Hello!

    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.

    Regards,
      - Tore.



    This archive was generated by hypermail 2.0.0 : Thu May 27 2004 - 04:56:54 EDT