Re: Unexpected EOGeneralAdaptorException
Dev WO <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Oh yes, the data type is Date in the model. > But what is the data type code setting in the model > > On 5 May 2006, at 8:29, Dev WO wrote: > >> Hello guys, >> I'm quite confused about an issue I'm having, which lead to: >> ------ >> Error: >> com.webobjects.eoaccess.EOGeneralAdaptorException: Unable to convert >> value of class java.lang.String for attribute 'deletedOn' in entity >> 'Member' to adaptor type EOAttribute.AdaptorBytesType. Check the >> signature of the conversion method >> com.webobjects.foundation.NSTimestamp.toString(). >> Reason: >> Unable to convert value of class java.lang.String for attribute >> 'deletedOn' in entity 'Member' to adaptor type >> EOAttribute.AdaptorBytesType. Check the signature of the conversion >> method com.webobjects.foundation.NSTimestamp.toString(). >> ------ >> >> But the "deletedOn" attribute is a NSTimestamp in the EOModel (and in >> it's custom java Class), a DateTime in the datastore (MySQL)... >> But more than this I have other attributes (like a dateUpdated one) >> which are exactly the same and don't lead to this crash:( >> >> Does anyone have an idea on where it may come from or how to debug >> that? >> >> Thanks for your help, >> >> Xavier >> >> _______________________________________________ >> WebObjects-dev mailing list >> [email protected] >> http://www.omnigroup.com/mailman/listinfo/webobjects-dev >> > > > > ________________________________________________________________ > This message could have been secured by PGP Universal. To secure > future messages from this sender, please click this link: > > https://keys.pgp.com/b/b.e?r=webobjects%40anazys.com&n=70swV% > 2B3q3a0Omnemvq2bDQ%3D%3D _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev