Re: NSDates, NSTimestamps and the Java-bridge
Re: NSDates, NSTimestamps and the Java-bridge
- Subject: Re: NSDates, NSTimestamps and the Java-bridge
- From: Ricardo Strausz <email@hidden>
- Date: Wed, 14 May 2003 12:01:58 -0500
Hola otra vez!
> Have you tried forgetting about NSTimestamp and using NSCalendarDate
> instead from the ObjC side? EOModeler, an ObjC app, seems to equate
> NSCalendarDate for an ObjC value class with NSTimestamp for a Java
> value class.
>
I did, but still with out results...
I did try things as:
id eoq = [EOQualifier qualifierWithQualifierFormat:@"cliente=%@ and
fecha>=%@ and estado>0",[eo folio],desde,nil:nil];
id eoq = [EOQualifier qualifierWithQualifierFormat:@"cliente=%@ and
fecha>=%@ and estado>0",[eo folio],desde:nil];
id eoq = [EOQualifier qualifierWithQualifierFormat:@"cliente=%@ and
fecha>=%@ and estado>0":[eo folio],desde,nil];
where 'desde' is an NSCalendaDate and [eo folio] returns an NSNumber
(an int).
(note the second ':' in the argument... with out it, the run-time said
that 'EOQualifier' does not recognizes the selector)
but I recive the error:
2003-05-14 11:50:58.595 Clientes[825] java/lang/AbstractMethodError:
com.webobjects.foundation.NSArray.count()I
Stack Trace:
java.lang.AbstractMethodError:
com.webobjects.foundation.NSArray.count()I
at
com.webobjects.eocontrol._private._EOQualifierParser.setArguments(_EOQua
lifierParser.java:129)
at
com.webobjects.eocontrol.EOQualifier.qualifierWithQualifierFormat(EOQual
ifier.java:936)
Clientes has exited with status 0.
_______________________________________________
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.