java.sql.SQLDataException: An attempt was made to get a data value of type 'DATE' from a data value of type 'java.time.LocalDate'.


Solutions on the web

Solution icon of apache
via db-derby-user by Martijn Blankestijn, 1 year ago
An attempt was made to get a data value of type 'DATE' from a data value of type 'java.time.LocalDate'.

Solution icon of apache
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576.

Solution icon of apache
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576.

Solution icon of apache
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576.

Solution icon of web
via sysaid.com by Unknown author, 1 year ago
A truncation error was encountered trying to shrink VARCHAR '*********************************' to length 32.

Solution icon of web
via JIRA by Stian Soiland-Reyes, 3 months ago
A truncation error was encountered trying to shrink VARCHAR 'org.soaplab.share.SoaplabException: Soaplab::NotValidInputs &' to length 10000.

Solution icon of jfrog
via JFrog JIRA by Tat Chiu Leung, 1 year ago
A truncation error was encountered trying to shrink VARCHAR 'Yellow Pages Group :: Systems & Process Integration :: Enter&' to length 255.

Solution icon of web
via JIRA by David Withers, 1 year ago
A truncation error was encountered trying to shrink VARCHAR '===ERROR=== Fault details: [string: null] [HttpErrorCode:&' to length 255.

Solution icon of jfrog
via JFrog JIRA by Tat Chiu Leung, 1 year ago
A truncation error was encountered trying to shrink VARCHAR 'Yellow Pages Group :: Systems & Process Integration :: Enter&' to length 255.

Solution icon of web
Invalid character string format for type BIGINT.

Stack trace

java.sql.SQLDataException: An attempt was made to get a data value of type
'DATE' from a data value of type 'java.time.LocalDate'.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(UnknownSource)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(UnknownSource)
	at org.apache.derby.impl.jdbc.ConnectionChild.newSQLException(UnknownSource)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.dataTypeConversion(UnknownSource)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.setObject(UnknownSource)
	at nl.ordina.jdk8.TimePersistenceTest.insertParameterSetObject(TimePersistenceTest.java:48)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.