db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: JDK 8 and setObject
Date Thu, 02 Jan 2014 21:06:50 GMT
> java.sql.SQLDataException: An attempt was made to get a data value of type 'DATE' from
a data value of type 'java.time.LocalDate'.

According to

http://download.java.net/jdk8/docs/api/java/sql/Date.html
http://download.java.net/jdk8/docs/api/java/util/Date.html
and
http://download.java.net/jdk8/docs/api/java/time/LocalDate.html

a java.sql.Date is a sub-class of java.util.Date, but a java.time.LocalDate
has no relationship to either of the above.

I don't see any information in the LocalDate JavaDoc that says
anything implying that a java.time.LocalDate is supposed to
be in any way interoperable with the java.util.Date class.

Is this the question you are asking?

thanks,

bryan


Mime
View raw message