From: | Kim Ho <kho(at)redhat(dot)com> |
---|---|
To: | Barry Lind <blind(at)xythos(dot)com> |
Cc: | Fernando Nasser <fnasser(at)redhat(dot)com>, pgsql-jdbc-list <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Patch to extend the tests for setObject with Date/Time/Timezone |
Date: | 2003-07-10 16:03:31 |
Message-ID: | 1057853011.2081.119.camel@topanga.toronto.redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
addDatetests.diff | text/x-patch | 31.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Kim Ho | 2003-07-10 18:09:30 | Patch: Add setDate/Time/Timestamp with Calendars |
Previous Message | Erik Price | 2003-07-10 14:40:52 | Re: Information needed |