• 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
Wildcard searching of dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wildcard searching of dates


  • Subject: Wildcard searching of dates
  • From: "Dan" <email@hidden>
  • Date: Wed, 25 Jun 2003 12:53:09 -0700
  • Organization: GroupStone

A statement like:

select * from table where date like 'Apr 03%'

works fine executed directly against SQLServer.

But if I code up an EOQualifier with a EOQualifierOperatorLike and set its
value to 'Apr*2003' and pick a date column I get the following error:

Error JDBCColumn for setting date type for Apr 03- class = class
java.lang.String

It looks like the JDBC driver is trying to convert the value to a date instead
of looking and seeing that the operator is a like and doing the right thing.
Anyone else gotten around this?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Wildcard searching of dates
      • From: Art Isbell <email@hidden>
  • Prev by Date: EOModeler Synchronize
  • Next by Date: Re: Wildcard searching of dates
  • Previous by thread: EOModeler Synchronize
  • Next by thread: Re: Wildcard searching of dates
  • Index(es):
    • Date
    • Thread