Nikita Timofeev created CAY-2861:
------------------------------------
Summary: 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
Fix For: 5.0-M1
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)