Wildcard searching of dates
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.