• 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: joda model mysql adaptorValueType error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: joda model mysql adaptorValueType error


  • Subject: Re: joda model mysql adaptorValueType error
  • From: Johann Werner <email@hidden>
  • Date: Wed, 15 May 2013 08:37:33 +0200

Hi James,

do you have the ERAttributeExtension framework on your classpath? Does it come before JavaEOAccess?

jw


Am 14.05.2013 um 15:14 schrieb James Cicenia <email@hidden>:

> Hello -
>
> This bug has been driving me a bit batty.
>
> 1) Column created via a migration:  erAuthenticationRequestTable.newTimestampColumn("requestDate", false);
> 2) Entity's code:
>
>     public org.joda.time.DateTime requestDate() {
>     return (org.joda.time.DateTime) storedValueForKey(_ERAuthenticationRequest.REQUEST_DATE_KEY);
>   }
>
>   public void setRequestDate(org.joda.time.DateTime value) {
>     if (_ERAuthenticationRequest.LOG.isDebugEnabled()) {
>     	_ERAuthenticationRequest.LOG.debug( "updating requestDate from " + requestDate() + " to " + value);
>     }
>     takeStoredValueForKey(value, _ERAuthenticationRequest.REQUEST_DATE_KEY);
>   }
>
>
> 3)  The error happens before requestDate() is even called.
>
> 4)  In the model used the erprototypes jodaDateTime prototype.
>
> Now I have looked at my other project and I can't see what is different.
>
>
> Error:
>
> Caused by: java.lang.IllegalStateException: adaptorValueType: unable to load class named 'DateTime' for attribute requestDate on entity ERTwoFactorAuthenticationRequest
>
> Thanks
> James



 _______________________________________________
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

  • Follow-Ups:
    • Re: joda model mysql adaptorValueType error
      • From: James Cicenia <email@hidden>
References: 
 >joda model mysql adaptorValueType error (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Batched AjaxUpdateContainer ?
  • Next by Date: Re: Troubles with com.webobjects.jspservlet
  • Previous by thread: joda model mysql adaptorValueType error
  • Next by thread: Re: joda model mysql adaptorValueType error
  • Index(es):
    • Date
    • Thread