Re: attribute conversion
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