Re: Problem with VelocityGen and $fetchSpecification.isFetchEnterpriseObjects

From: John Huss (johnthus..mail.com)
Date: Mon Jan 28 2008 - 17:52:38 EST

  • Next message: Mike Schrag: "Re: Problem with VelocityGen and $fetchSpecification.isFetchEnterpriseObjects"

    Here it is. There is no section for raw row key paths for this fetch.

        journalReport =
        {
            class = EOFetchSpecification;
            entityName = Invoice;
            fetchLimit = 0;
            prefetchingRelationshipKeyPaths =
            ();
            qualifier =
            {
                class = EOAndQualifier;
                qualifiers =
                (

                   {
                       class = EOKeyValueQualifier;
                       key = store;
                       selectorName = isEqualTo:;
                       value =
                       {
                           _key = store;
                           class = EOQualifierVariable;
                       };
                   },

                   {
                       class = EOKeyValueQualifier;
                       key = invoiceDate;
                       selectorName = isGreaterThanOrEqualTo:;
                       value =
                       {
                           _key = startDate;
                           class = EOQualifierVariable;
                       };
                   },

                   {
                       class = EOKeyValueQualifier;
                       key = invoiceDate;
                       selectorName = isLessThanOrEqualTo:;
                       value =
                       {
                           _key = endDate;
                           class = EOQualifierVariable;
                       };
                   }
                );
            };
            sortOrderings =
            (

               {
                   class = EOSortOrdering;
                   key = number;
                   selectorName = compareAscending:;
               }
            );
        };

    On Jan 28, 2008 4:45 PM, Mike Schrag <mschra..dimension.com> wrote:

    > > I think there may be a problem with the isFetchEnterpriseObjects
    > > method for EOEntity using the Velocity generator.
    > Can you include the declaration of your fetch spec from the fetch
    > spec's plist? Specifically what is defined for rawRowKeyPaths?
    >
    > ms
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Jan 28 2008 - 17:53:36 EST