• 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
ERRest qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERRest qualifier


  • Subject: ERRest qualifier
  • From: Yoann Canal <email@hidden>
  • Date: Mon, 08 Dec 2014 17:50:17 +0100

Hi list,

We are using ERRest for our API and we are trying to use the "qualifier" parameter provided by ERXRestFetchSpecification.
Using a NSTimestamp in this qualifier gives a:

JDBCAdaptorException: ** Error JDBCColumn for setting date type for 2012-09-08T13:54:31Z- class = class java.lang.String at com.webobjects.jdbcadaptor.JDBCColumn.takeInputValue(JDBCColumn.java:555) at com.webobjects.jdbcadaptor.ERXJDBCColumn.takeInputValue(ERXJDBCColumn.java:39)
     ... skipped 9 stack elements

Is there a way to use dates in this qualifier ?

Another problem is using relations in this qualifier since we use a RestDelegate to expose a different id or using fields that are not in the EOModel.
Is there a way to insert some sort of delegate to deal with those cases ?
The other solution would be to roll our own qualifier parser instead of the EOQualifier.qualifierWithQualifierFormat that ERRest uses.

Thanks,
Yoann

_______________________________________________
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: "Static" objects in EC (was: multi-instance sync woes)
  • Next by Date: FATAL Unlocking thread is not locking thread
  • Previous by thread: Re: "Static" objects in EC (was: multi-instance sync woes)
  • Next by thread: FATAL Unlocking thread is not locking thread
  • Index(es):
    • Date
    • Thread