The reason I ask is I used to get this error using the JDBC adaptor to SQL Server, but your situation could be the same. I recall there being some kind of map of attributes that gets loaded into the model when you initially set it up. I suggest creating a brand new model and copying your entities over. At least, try it with a subset and see if that's the problem, or maybe even compare the data from the new model with the old.

Ken

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]




_______________________________________________
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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to