I wish I had this a few months ago. Now I need to decide if I want to re-factor.

But the Joda stuff looks great.

Thanks,

Ted

--- On Wed, 1/26/11, Ramsey Gurley <ram...@xeotech.com> wrote:

> From: Ramsey Gurley <ram...@xeotech.com>
> Subject: Re: what am i doing wrong with this qualifier
> To: "Theodore Petrosky" <tedp...@yahoo.com>
> Cc: "WebObjects Development" <webobjects-dev@lists.apple.com>
> Date: Wednesday, January 26, 2011, 9:39 AM
> No, you're doing it right. I haven't
> had a chance to update the  
> migration templates yet.  I need to add a migration
> method for time  
> and make sure that works too.  For now, just change
> that to a  
> newDateColumn method yourself. I believe it should work
> fine.
> 
> Ramsey
> 
> On Jan 26, 2011, at 9:31 AM, Theodore Petrosky wrote:
> 
> > sorry, I didn't copy the list.
> >
> > Great, I will experiment but I did try to add a
> JodaLocalDate
> >
> > I used the prototype and got
> >
> > Prototype: jodaLocalDate
> > External Type:  date
> > Class:  org.joda.time.LocalDate
> > Value Class: org.joda.time.LocalDate
> > Value Type: D
> >
> > Factory and Conversion method  jodaLoalDate
> >
> > but when I asked for the Migrations I got:
> >
> > securitySettingsTable.newBlobColumn("c_a_date",
> false);
> >
> > a new blob column? I expected a date column. Do I need
> to do  
> > something more?
> >>
> >> Ted
> >>
> >>
> >> --- On Wed, 1/26/11, Ramsey Gurley <ramseygur...@gmail.com>
> >> wrote:
> >>
> >>> From: Ramsey Gurley <ramseygur...@gmail.com>
> >>> Subject: Re: what am i doing wrong with this
> >> qualifier
> >>> To: "Theodore Petrosky" <tedp...@yahoo.com>
> >>> Cc: "WebObjects Development" <webobjects-dev@lists.apple.com>
> >>> Date: Wednesday, January 26, 2011, 8:43 AM
> >>>
> >>> On Jan 26, 2011, at 6:47 AM, Theodore Petrosky
> wrote:
> >>>
> >>>>
> >>>> Postgresql supports dates without
> timestamp, I
> >> wish I
> >>> knew how to do this in webobject java. (But
> still call
> >> them
> >>> dates so I can do date math.)
> >>>
> >>> If you are using a very recent version of 54
> Wonder
> >>> (committed in the last week), there are new
> date
> >> prototypes
> >>> using Joda time classes instead of
> NSTimestamps. Joda
> >> allows
> >>> for datetimes, dates, and times without a
> timezone.
> >>> Joda simplifies date math quite a bit too.
> >>>
> >>> Ramsey
> >>
> >>
> >>
> >>
> >
> >
> >
> > _______________________________________________
> > 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/ramsey%40xeotech.com
> >
> > This email sent to ram...@xeotech.com
> >
> 
> 



 _______________________________________________
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