do I need to link to something more:

Caused by: java.lang.IllegalStateException: Can't find class: 
er.extensions.jdbc.ERXJDBCAdaptor 
        at 
er.extensions.jdbc.ERXJDBCAdaptor.registerJDBCAdaptor(ERXJDBCAdaptor.java:90)


ted

--- On Thu, 1/27/11, Johann Werner <j...@oyosys.de> wrote:

> From: Johann Werner <j...@oyosys.de>
> Subject: Re: jodaLocalDate question
> To: "Theodore Petrosky" <tedp...@yahoo.com>
> Cc: "WebObjects Development" <webobjects-dev@lists.apple.com>
> Date: Thursday, January 27, 2011, 10:27 AM
> Try setting
> 
> er.extensions.ERXJDBCAdaptor.className=er.extensions.jdbc.ERXJDBCAdaptor
> 
> 
> in your properties.
> 
> jw
> 
> Am 27.01.2011 um 15:49 schrieb Theodore Petrosky:
> 
> > I am trying to use a JodaLocalDate in my app. I
> changed my postgresql db to have date columns and bound them
> in Entity Modeler to jodaLocalDate prototype.
> > 
> > I have a datepicker that i use to select the date in
> question. I have not been able to use the datepicker and
> bind the value directly to my LocalDate method. I keep
> getting an error that it was expecting a LocalDate but
> received a NSTimestamp and that this can happen if you
> forget to use a formatter. I am using a formatter. so I
> changed to a method that accepts a NSTimestamp and I am
> converting to a LocalDate. I want to use the LocalDate in my
> query.
> > 
> > But now my query returns an error: 
> >
> Error:     java.lang.NoSuchMethodException:
> Class er.prototypes.ValueConversion does not implement
> method jodaLocalDate
> > Reason:     Class
> er.prototypes.ValueConversion does not implement method
> jodaLocalDate
> > 
> > I downloaded (svn from the prescribed location in the
> WIKI) and compile. I checked the er prototypes
> valueconversion and indeed the methods for Joda are there
> (    public static Date
> jodaLocalDate(LocalDate value) {)
> > 
> > 1. should I be able to use a method :
> > 
> >     public void setReportDate(LocalDate
> rDate) {
> >         
> >         this.reportDate
> = rDate;
> >         
> >     }
> > 
> >     public LocalDate reportDate() {
> >         return 
> reportDate;
> >     }
> > 
> > and bind this to the value of the AjaxDatePicker? If
> yes, HOW. I keep getting an error about the missing
> formatter.
> > 
> > if no then Why do I get this error about the missing
> valueConversion?
> > 
> > I could use some help before I go mad.
> > 
> > That said, what I am trying to do is use a date column
> in my postgresql database. I don't need timestamps. Is there
> a way to do this?
> > 
> > Ted
> >     
> > 
> > 
> > 
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de
> > 
> > This email sent to j...@oyosys.de
> > 
> 
> --
> 
> oyosys
> Dipl.-Ing. Johann Werner
> Schickenhof 8
> D-90403 Nürnberg
> 
> Tel.:       
> +49(0)911/4786817
> Fax:        +49(0)911/4786818
> E-Mail:    i...@oyosys.de
> Web:    www.oyosys.de
> 
> USt-ID: DE262086725
> 
> 



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to