• 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
what am i doing wrong with this qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what am i doing wrong with this qualifier


  • Subject: what am i doing wrong with this qualifier
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 25 Jan 2011 15:06:24 -0800 (PST)

theDate is an NSTimestamp;

EOQualifier qualifier = ERXQ.is("invoiceBookedDate", theDate);

ERXFetchSpecification<Invoice> fs = new ERXFetchSpecification<Invoice>(Invoice.ENTITY_NAME, qualifier, sortOrderings);
NSLog.out.appendln("fs = " + fs);

fs = <class er.extensions.eof.ERXFetchSpecification(entityName=Invoice,
 qualifier=(invoiceBookedDate = (com.webobjects.foundation.NSTimestamp)'2010-12-06 00:00:00 Etc/GMT'),
 isDeep=true, usesDistinct=false,
 sortOrdering=(<class er.extensions.eof.ERXSortOrdering(invoiceBookedDate compareAscending)>),
 hints=null,
 _prefetchingRelationshipKeyPaths = null)>

If qualifier = null; I get the entire list (the query works). and the sql:

select * from  t_invoice where c_invoice_booked_date = '2010-12-06 0:00:00 Etc/GMT';

works beautifully.

Am I just being brain dead?

Ted



 _______________________________________________
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: Re: Chuck's New Book
  • Next by Date: Fw: what am i doing wrong with this qualifier
  • Previous by thread: JasperReports keyPathSeparator
  • Next by thread: Fw: what am i doing wrong with this qualifier
  • Index(es):
    • Date
    • Thread