ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <larry.mead...@gmail.com>
Subject Re: passing in java date
Date Fri, 22 Aug 2008 15:51:50 GMT
Really? Man, I think the Java date APIs suck worse than any SQL
dialect ever conceived. :-)

It's like they were created by a mad man after a vision he had in a
LSD-induced nightmare where colors tasted like music.


On Fri, Aug 22, 2008 at 9:20 AM, Jonathan Slate <jslate@mtl.mit.edu> wrote:
> I can. I'd just prefer to work with Java dates. If it is really INSERT INTO
> foo (time, value) values ([six days from now at midnight], 'bar') I'd rather
> be figuring out the time using Java rather than coding "six days from now at
> midnight" in SQL. (Clearly I do have options here, I'm just looking for the
> one that is the most straightforward to implement and maintain.)
> -Jonathan

View raw message