Re: ResultSet.getObject(..., LocalTime.class) not working withPostgres timetz type - Mailing list pgsql-jdbc

From Philippe Marschall
Subject Re: ResultSet.getObject(..., LocalTime.class) not working withPostgres timetz type
Date
Msg-id a5633816-2440-5716-977a-f0364d9ecb07@netcetera.com
Whole thread Raw
In response to Re: ResultSet.getObject(..., LocalTime.class) not working withPostgres timetz type  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
On 16.04.19 02:20, Dave Cramer wrote:
> 
> 
> The whole time, timestamp, timezone thing was not well thought out and 
> is the bane of all driver implementers existence...


Pre JDBC 4.2 and java.sql types I agree.

JDBC 4.2+ and java.time types I disagree. Issues with JDBC 4.2 and 
java.time types start when:

- people want backwards compatibility with bugs in java.sql
- support is implemented in terms of java.sql
- people want to support other java.time types and the direct 1:1 mappings

If you stay away from these then everything is really easy.

Cheers
Philippe




pgsql-jdbc by date:

Previous
From: Mark Rotteveel
Date:
Subject: Re: ResultSet.getObject(..., LocalTime.class) not working withPostgres timetz type
Next
From: Philippe Marschall
Date:
Subject: Re: ResultSet.getObject(..., LocalTime.class) not working withPostgres timetz type