[ 
https://issues.apache.org/jira/browse/CAY-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18105516#comment-18105516
 ] 

Nikita Timofeev commented on CAY-2861:
--------------------------------------

Master is on Java 21 now, could upgrade freely

> Derby version upgrade
> ---------------------
>
>                 Key: CAY-2861
>                 URL: https://issues.apache.org/jira/browse/CAY-2861
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Database integration
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 5.0-M3
>
>         Attachments: Upgrade_Derby_to_10_15_2_0.patch
>
>
> Here are a few things to keep in mind:
> * there's only one particular version we could upgrade to: 10.15.2.0 as 10.16 
> requires Java 17 and 10.17 requires Java 19
> * starting with 10.15 Derby requires additional dependency 
> {{org.apache.derby:derbytools}} to use embedded driver
> * tests related to DB structure (all integration tests and specifically db 
> import related) start to fail as constraint naming (or DDL queries 
> validation) changed, and constraint names should always be quoted
> I'm attaching a patch with some experiments, but it's not ready yet



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

Reply via email to