You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (Jira)" <ji...@apache.org> on 2025/01/30 23:30:00 UTC

[jira] [Created] (CAY-2881) Switch to standard JDBC way to read/write java.time classes

Andrus Adamchik created CAY-2881:
------------------------------------

             Summary: Switch to standard JDBC way to read/write java.time classes
                 Key: CAY-2881
                 URL: https://issues.apache.org/jira/browse/CAY-2881
             Project: Cayenne
          Issue Type: Improvement
            Reporter: Andrus Adamchik
             Fix For: 5.0-M2


On most databases, we no longer need ValueObjectTypes for java.time classes, as demonstrated by CAY-2701 for modern MySQL (also see https://dev.mysql.com/blog-archive/support-for-date-time-types-in-connector-j-8-0/ ) . So let's make the approach in CAY-2701 the default in Cayenne, and then test and see what databases DO NOT support it, and create custom ExtendedTypes for those. 

Of course, as a result MySQLLocalDateTimeType will no longer be needed, superseded by  the standard ExtendedTypes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)