Re: Unexpected EOGeneralAdaptorException

Kieran Kelleher <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Try Connector/J 3.0.17 with MySQL 4.1.

On May 6, 2006, at 6:08 AM, Dev WO wrote:

> Hello Ken,
> I'm not sure I understand the question, it's MySQL 4.1.x using the  
> 3.2.0 beta jdbc connector.
>
>
>
>> What type of database?
>>
>> On May 5, 2006, at 11:29 AM, 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
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/lists% 
>>> 40anderhome.com
>>>
>>> This email sent to [email protected]
>>
>>
>
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.