incubator-empire-db-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis De Brabandere <franci...@gmail.com>
Subject Re: datetime-phrase issue in DBDatabaseDriverDerby
Date Sat, 25 Jul 2009 09:01:22 GMT
Hi Eike,

Thanks for reporting this issue, I created a jira issue and will fix
this right away.

https://issues.apache.org/jira/browse/EMPIREDB-46

On Sat, Jul 25, 2009 at 2:56 AM, Eike Kettner<news@eknet.org> wrote:
>
> Hello
>
> I found a small bug in DBDatabaseDriverDerby. The phrase for obtaining
> the current date-time is specified as "NOW()". The Derby doc says to
> use CURRENT_TIMESTAMP. I have tried this a minute ago and it worked
> for me.
>
> DBDatabaseDriverDerby (195):
> -case SQL_CURRENT_DATETIME:        return "NOW()";
> +case SQL_CURRENT_DATETIME:        return "CURRENT_TIMESTAMP";
>
>
> Best Regards
> Eike
>



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

Mime
View raw message