[
https://issues.apache.org/jira/browse/TORQUE-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091612#comment-18091612
]
Graham Leggett commented on TORQUE-375:
---------------------------------------
Can you confirm which database this is and which JDBC driver?
{code}
[ERROR] Errors:
[ERROR] DataTest.testMultiplePk:140 ┬╗ Torque java.sql.SQLDataException: An
attempt was made to get a data value of type 'TIMESTAMP' from a data value of
type 'java.time.LocalDateTime'.
{code}
The java.sql.SQLDataException implies that the JDBC driver is throwing this,
when java.time.LocalDateTime is indeed the correct object to be returned for
TIMESTAMP.
Is this a driver that is too old?
> Support for java.time API
> -------------------------
>
> Key: TORQUE-375
> URL: https://issues.apache.org/jira/browse/TORQUE-375
> Project: Torque
> Issue Type: Improvement
> Affects Versions: 7.1
> Reporter: Graham Leggett
> Priority: Major
> Attachments: torque8-javatime1.patch, torque8-javatime2.patch,
> torque8-javatime3.patch, torque8-javatime4.patch
>
>
> Switch out java.util.Date, replace with the java.time API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]