• 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: Patched MySQL plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patched MySQL plugin


  • Subject: Re: Patched MySQL plugin
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 1 Oct 2010 17:31:40 -0700

On Oct 1, 2010, at 5:26 PM, Paul Hoadley wrote:

> On 02/10/2010, at 8:50 AM, Roger Marshall wrote:
>
>> "Dates (1-day resolution) redux"
>> 	http://lists.apple.com/archives/webobjects-dev/2010/Aug/thrd2.html#00132
>>
>> How are people persisting their Joda-Time values?
>
> I'm using PostgreSQL's DATE type (4 bytes, no time of day, 1 day resolution).
>
>> I was recently trying to configure a prototype for Joda-Time LocalDate, but the Joda-Time classes don't have factory methods, and are declared final, as discussed recently that last thread.
>
> I'm using basically the sample code Henrique Prange supplied in that thread.  It's annoying that their classes are final, but I suppose you only need to write the wrapper code once.
>
>> How about validation/formatters?
>
> At the moment, not much.  I'm just careful about feeding it sane input, and toString() is sufficient for what I'm doing.  Joda has some formatter classes, but I don't think they're going to plug into WOComponent 'formatter' bindings out of the box.


Yipee!  More wrapper classes.

"Thou shalt not final code"
	-- me


Chuck


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Patched MySQL plugin
      • From: Paul Hoadley <email@hidden>
References: 
 >Re: Patched MySQL plugin (From: Ray Kiddy <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Chuck Hill <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Ray Kiddy <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Mike Schrag <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Travis Britt <email@hidden>)
 >Re: Patched MySQL plugin (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Patched MySQL plugin
  • Next by Date: Re: Patched MySQL plugin
  • Previous by thread: Re: Patched MySQL plugin
  • Next by thread: Re: Patched MySQL plugin
  • Index(es):
    • Date
    • Thread