Hi again,

I'm replying to myself to let you all know that this bug is fixed now. The newest 7.3 JDBC drivers from jdbc.postgresql.org contain the patch.

Rhett

On Friday, January 10, 2003, at 04:09 PM, Rhett Sutphin wrote:

Hi,

I've discovered a fairly minor bug in the JDBC driver that ships with PostgreSQL 7.3. It causes a bogus ObjectModifiedException in test TC20 (TypeHandling) of the JDO test suite, so it is possible that it could impact some castor users. That's why I'm mentioning it here.

The message I sent to the pgsql-jdbc list hasn't made it into their archive yet, so here's a summary of the bug: when you retrieve a TIMESTAMP field from a PostgreSQL 7.3 database and it contains fractional second information, the fractional second information will be wrong if there is more than one decimal-place's worth. The problem this caused with the JDO tests was that the cached version of an affected timestamp field was always out-of-sync with the actual database, leading to the aforementioned ObjectModifiedException.

Anyway, all the details are in my pgsql-jdbc post, so if you are interested, wait for a while and it should show up here: http://archives.postgresql.org/pgsql-jdbc/2003-01/index.php. Or if you are in a hurry, you can e-mail me and I'll forward you the > message.

Rhett
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to