• 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
Re: Unexpected EOGeneralAdaptorException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unexpected EOGeneralAdaptorException


  • Subject: Re: Unexpected EOGeneralAdaptorException
  • From: Ken Anderson <email@hidden>
  • Date: Sat, 06 May 2006 15:23:12 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.com


This email sent to email@hidden




_______________________________________________ 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
References: 
 >Unexpected EOGeneralAdaptorException (From: Dev WO <email@hidden>)
 >Re: Unexpected EOGeneralAdaptorException (From: Ken Anderson <email@hidden>)
 >Re: Unexpected EOGeneralAdaptorException (From: Dev WO <email@hidden>)

  • Prev by Date: Wikibook
  • Next by Date: Apache ssl module for Windows
  • Previous by thread: Re: Unexpected EOGeneralAdaptorException
  • Next by thread: Re: Unexpected EOGeneralAdaptorException
  • Index(es):
    • Date
    • Thread