Re: Strange EOModel import issue

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Mar 16 2009 - 03:30:36 EDT

  • Next message: Andrus Adamchik: "March Board report"

    Not sure why it didn't work. Certainly worth fixing, although it will
    be very low priority on my own list (it may be different for others).

    Andrus

    On Mar 13, 2009, at 9:56 PM, Michael Gentry wrote:

    > I imported an EOModel into Cayenne Modeler and it seemed to go
    > smoothly until at runtime it blew up trying to parse a qualifier. I
    > looked in the Map XML and found (as part of a <query>...</query>:
    >
    > <qualifier><![CDATA[db: = "OSIS "]]></qualifier>
    > <ordering><![CDATA[contractNum]]></ordering>
    >
    > This looked very strange and I went back to the EOModel and it had:
    >
    > (contractOwner = 'OSIS ')
    >
    > (Yes, trailing white space and all.) Clearly the import messed this
    > particular one up, but I don't know why. Other EOFetchSpecifications
    > that were very similar worked fine and eye-balling the other
    > qualifiers looked OK, too. I changed the Cayenne XML to:
    >
    > <qualifier><![CDATA[contractOwner = "OSIS "]]></qualifier>
    > <ordering><![CDATA[contractNum]]></ordering>
    >
    > And have moved on.
    >
    > Any thoughts as to what might have caused this and if it is worth
    > trying to isolate and fix?
    >
    > Thanks,
    >
    > /dev/mrg
    >



    This archive was generated by hypermail 2.0.0 : Mon Mar 16 2009 - 03:31:27 EDT