Subject | Re: [Firebird-Java] Date/Time with Prepared Statement |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-01-31T16:04:22Z |
> This works fine. But now I also want to handle the millisecond timethe setTimestamp in combination with java.sql.Timestamp.valueOf(...),
> information somehow (e.g. with a string 12:34:23.2345), but I don't see
> the obvious thing how to that with JDBC.
>
> What's the best way to handle date and time (incl. ms information) when
> the come along as a string with JayBird/JDBC?
but you have to ensure the yyyy-mm-dd hh:mm:ss.fffffffff format of the
string (I think fraction seconds can be omitted).
Roman