[
https://issues.apache.org/jira/browse/CAMEL-23481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18085738#comment-18085738
]
Torsten Mielke edited comment on CAMEL-23481 at 6/10/26 1:14 PM:
-----------------------------------------------------------------
h2. Analysis of camel-mybatis component
[https://github.com/apache/camel/pull/23726]
Only real change needed was to the {{MyBatisInsertWithRollbackTest}} by adding
{{NOT NULL}} constraints to table schema. This ensures null inserts trigger
constraint violations (and thus rollback) on H2, matching the behaviour
previously exhibited by Derby.
was (Author: tmielke):
h2. Analysis of camel-mybatis component
[https://github.com/apache/camel/pull/23726]
Only real change needed was to the {{MyBatisInsertWithRollbackTest}} by adding
{{NOT NULL}} constraints to table schema. This ensures null inserts trigger
constraint violations (and thus rollback) on H2, matching the behaviour
previously exhibited by Derby.
> Remove Apache Derby dependencies
> --------------------------------
>
> Key: CAMEL-23481
> URL: https://issues.apache.org/jira/browse/CAMEL-23481
> Project: Camel
> Issue Type: Dependency upgrade
> Components: tests
> Affects Versions: 4.20.0
> Reporter: Torsten Mielke
> Assignee: Torsten Mielke
> Priority: Major
> Fix For: 4.21.0
>
>
> Multiple Camel components use Apache Derby in unit tests.
> Apache Derby is a retired project as of Oct 2025.
> https://db.apache.org/derby/
> As no further releases of Derby are planned, we should remove any
> dependencies on Derby from the Camel project.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)