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

joda model mysql adaptorValueType error


  • Subject: joda model mysql adaptorValueType error
  • From: James Cicenia <email@hidden>
  • Date: Tue, 14 May 2013 08:14:48 -0500

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: Johann Werner <email@hidden>
  • Prev by Date: Re: Barcode example
  • Next by Date: Batched AjaxUpdateContainer ?
  • Previous by thread: RE: Barcode example
  • Next by thread: Re: joda model mysql adaptorValueType error
  • Index(es):
    • Date
    • Thread