• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
_Entity.java template bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

_Entity.java template bug?


  • Subject: _Entity.java template bug?
  • From: Alexander Spohr <email@hidden>
  • Date: Fri, 15 Oct 2010 15:22:08 +0200

Hi list,

I have a warning in some of my classes that fullQualifier is not used after declaration.
The problem occurs if this if is true:

#if (${relationship.actualDestination.genericRecord})
     EOFetchSpecification fetchSpec = new EOFetchSpecification("${relationship.actualDestination.name}", qualifier, sortOrderings);
     fetchSpec.setIsDeep(true);
     results = (NSArray<${relationship.actualDestination.classNameWithDefault}>)editingContext().objectsWithFetchSpecification(fetchSpec);
#else
     results = ${relationship.actualDestination.classNameWithDefault}.fetch${relationship.actualDestination.pluralName}(editingContext(), fullQualifier, sortOrderings);
#end

I guess it should be using fullQualifier like this:
     EOFetchSpecification fetchSpec = new EOFetchSpecification("${relationship.actualDestination.name}", fullQualifier, sortOrderings);


Regards,
	atze

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: WOText and bad copied text
  • Next by Date: Re: javadocs removed from apple.com (and some links are broken)
  • Previous by thread: WOText and bad copied text
  • Next by thread: EOSQLExpression for Query across optional relationships?
  • Index(es):
    • Date
    • Thread