• 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: attribute conversion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attribute conversion


  • Subject: Re: attribute conversion
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 28 Oct 2010 14:43:13 -0400

You could do a simple custom attribute class to handle your legacy db booleans

This is very old here, but it should give you an idea of how to do that:

http://web.me.com/kelleherk/iblog/C729512539/E2033071041/index.html





On Oct 28, 2010, at 1:59 PM, Michael Gargano wrote:

> I have a preexisting DB structure where booleans are stored 'Yes', 'No' instead of 'true','false'
>
> Any ways to handle this mapping?  I know java.lang.Boolean treats 'Yes' as false.
>
> Thanks.
> -Mike
>
> _______________________________________________
> 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

 _______________________________________________
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

References: 
 >attribute conversion (From: Michael Gargano <email@hidden>)

  • Prev by Date: Re: Some installation questions
  • Next by Date: Re: Some installation questions
  • Previous by thread: attribute conversion
  • Next by thread: parent component content modification
  • Index(es):
    • Date
    • Thread