[jira] [Commented] (TORQUE-375) Support for java.time API
"Graham Leggett (Jira)" <[email protected]> Wed, 24 Jun 2026 22:00:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.turbine.torque.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/TORQUE-375?page=3Dcom.atlassian=
.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1809=
1341#comment-18091341 ]=20
Graham Leggett commented on TORQUE-375:
---------------------------------------
Primary keys now supported and more besides.
Just one test fails, but it doesn't run for me in eclipse so I can't debug =
it, does it make any sense to you?
{code}
[ERROR] Errors:=20
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:196->doSe=
lect:405->doSelect:442 =C2=BB SQLSyntaxError incompatible data type in conv=
ersion
[INFO]=20
[ERROR] Tests run: 290, Failures: 0, Errors: 1, Skipped: 0
{code}
The combo key delimiter had to change from ':' to '|' so as to not clash wi=
th the ISO date formats produced by java.time, not sure if that is a proble=
m.
> 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, to=
rque8-javatime3.patch
>
>
> Switch out java.util.Date, replace with the java.time API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)