You could always just set your data type to a long and write cover
methods on your EO that take NSTimestamp and just them them
into .getTime() and new NSTimstamp(long) -- equiv to
System.currentTimeMillis, basically (/1000 = unix time). With a
little eogenerator magic and a common userInfo attribute, you could
probably have that autogenerating also.
ms
On Jul 4, 2007, at 8:51 AM, Kieran Kelleher wrote:
It is possible...
On Jul 4, 2007, at 2:47 AM, Q wrote:
Can anyone tell me if it is possible to define an NSTimestamp
eomodel property to be represented in the database as an integer
column rather than a date/time column, ideally in seconds ( as a
unixtime value).
--
Seeya...Q
Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806
_______________________________________________
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/kieran_lists%
40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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/mschrag%
40mdimension.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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 [EMAIL PROTECTED]