Re: Timestamp Question

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Greg Markham <gmarkham(at)markhamdirect(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Timestamp Question
Date: 2004-07-11 14:45:24
Message-ID: 40F15284.2090905@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Greg Markham wrote:
> I have searched the archives and not found and answer to this question:
>
> I am trying to use a Java Timestamp object to create a Postgresql
> Timestamp(6) field. I can insert a Timestamp but it only goes to the
> millisecond(2004-07-10 12:59:59.123) I need it to the microsecond
> (2004-07-10 12:59:59.123456). Is there a way to do this?

From a quick look at the driver code, it appears to support nanosecond
precision in Timestamps.

What exactly is the problem you see? Can you provide a testcase?

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-07-11 14:51:53 Re: Timestamp Question
Previous Message Antony Paul 2004-07-11 13:28:32 No class found for inet