• 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: Dev WO <email@hidden>
  • Date: Fri, 5 May 2006 17:41:47 +0200

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@hidden
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=email@hidden&n=70swV+3q3a0Omnemvq2bDQ==

 _______________________________________________
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>)

  • Prev by Date: Unexpected EOGeneralAdaptorException
  • Next by Date: Re: Unexpected EOGeneralAdaptorException
  • Previous by thread: Unexpected EOGeneralAdaptorException
  • Next by thread: Re: Unexpected EOGeneralAdaptorException
  • Index(es):
    • Date
    • Thread