Different result sets returned by JDBCXYChartDemo

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Darcy Kamieniecki

Different result sets returned by JDBCXYChartDemo

Post by Darcy Kamieniecki » Thu Feb 20, 2003 1:41 am

I am currently using jfreechar-0.9.6. I am using Postgresql 7.2 with the devpgjdbc2.jar driver.

I have a table with a timestamp field that I am querying. If I run the query on my linux box, the XYDataset return by my query, returns the date correctly down to millisecond precision and varying values in the millisecond component of the timestamp. This is correct.

If I run the same query on my windows box (same drivers) querying the same database, the XYDataset returns with millisecond resolution but with the milliseconds always set to 0, thus yielding a date with only 1 second precision. I need the milliseconds!!

Any ideas would be appreciated.
Darcy

Locked