Patch to extend the tests for setObject with Date/Time/Timezone - Mailing list pgsql-jdbc

From Kim Ho
Subject Patch to extend the tests for setObject with Date/Time/Timezone
Date
Msg-id 1057853011.2081.119.camel@topanga.toronto.redhat.com
Whole thread Raw
List pgsql-jdbc
Is attached.

Added with this patch:
In Date test:
 - Tests for setObject(1, x, java.sql.Types.DATE)
where x can be a java.sql.Date, java.sql.Timestamp, or String

In Time test:
 - Tests for setObject(1, x, java.sql.Types.TIME)
where x can be a java.sql.Time, java.sql.Timestamp, or String

In Timestamp test:
 - Tests for setObject(1, x, java.sql.Types.TIMESTAMP)
where x can be a java.sql.Timestamp, java.sql.Date, java.sql.Time, or
String

*by String, I mean a string with and without timezones. Except in
timestamp test, where the timezone tests are separated explicitly.

Comments/suggestions welcome.

Cheers,

Kim

Attachment

pgsql-jdbc by date:

Previous
From: Erik Price
Date:
Subject: Re: Information needed
Next
From: Jochem van Dieten
Date:
Subject: Re: Strange exception opening JDBC connection