Re: Date-Only NSTimestamps
Re: Date-Only NSTimestamps
- Subject: Re: Date-Only NSTimestamps
- From: "Pierce T. Wetter III" <email@hidden>
- Date: Wed, 2 Jan 2008 16:58:17 -0700
On Jan 2, 2008, at 2:47 PM, Mike Schrag wrote:
It might be possible now using the new enum support in 5.4, but
only as a hack, and I haven't looked at it.
It should, actually ... The bug I filed that I /think/ turned into
this feature was to be able to do "CryptoString" that properly maps
in and out of the DB, which is basically the same issue you're
referring to but just with dates.
Yeah, then you could store dates in the database as INTEGERs, and
have a class to map to/from timestamps as needed. So its not just
enums in 5.4, you can map attributes in general? The release note says
"support for enum in attribute conversion", but I had no idea of the
details.
Pierce
_______________________________________________
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