db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <knut.hat...@oracle.com>
Subject Re: JDK 8 and setObject
Date Fri, 03 Jan 2014 08:21:01 GMT
Martijn Blankestijn <martijnblankestijn@gmail.com> writes:

> In the "JDBC Maintenance Release 4.2" proposed changes the following
> is written
>
> "21 Add the following mapping to table B-4, Mapping from Java Objects
> to JDBC Types
> • Map the Java Object Type javax.time.LocalDate to the JDBC Type DATE
>
> 22 Add the following mapping to table B-5, Mapping, conversions
> Performed by setObject and setNull between
> Java Object Types
> • Allow the conversion of javax.time.LocalDate to CHAR, VARCHAR,
> LONGVARCHAR, and DATE"
>
> Am I missing something?

Hi Martijn,

I think the LocalDate class was added to Java 8 after JDBC 4.2 support
was added to Derby, and we've apparently overlooked that these new
mappings were added to a later revision of the specification.

I've filed a JIRA issue to get the new mappings added to Derby:

https://issues.apache.org/jira/browse/DERBY-6445

Thanks,

-- 
Knut Anders

Mime
View raw message