On 29/01/2011, at 5:39 AM, Chuck Hill wrote: > On Jan 28, 2011, at 11:00 AM, Theodore Petrosky wrote: > >> You say 'these are Java'. yes, but how it relates to the backend. I have >> invoice dates in my database. it is just a date. no time. >> >> how can I set up Entity Modeler to not use a Timestamp. I tried the Joda >> Time stuff but it seems that there were problems so it was pulled. >> >> So I need to rephrase. How can I have a date column in my database and have >> an object in Webobjects that is date only and not care about times and >> timezones? > > You. Can. Not.
You're scaring Ted, Chuck. Mention your assumptions: "Assuming you're not using a library that provides a genuine 1-day resolution date type, such as Joda Time." > Java does not care what your database thinks. Java ONLY has a point in time. > ONLY. JodaTime extends Java with some more, uh, relaxed attitudes towards > dates. Stop scaring Ted, Chuck! There's nothing wrong with Joda's attitude. Sometimes a 1-day resolution date is precisely the type you need. -- Paul. http://logicsquad.net/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
