[
https://issues.apache.org/jira/browse/CAMEL-23481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088522#comment-18088522
]
Torsten Mielke edited comment on CAMEL-23481 at 6/12/26 11:47 AM:
------------------------------------------------------------------
h2. Analysis of camel-examples repository
[https://github.com/apache/camel-examples/pull/205]
The two demos {{jdbc/}} and {{aggregate-dist/}} got migrated to use H2 Database
for long-term maintainability.
Changes:
* Replace Derby dependencies (derby, derbytools) with H2 in {{pom.xml}}
* Update Spring embedded database configuration from {{DERBY}} to {{H2}}
* Rename {{create-derby.sql}} to {{create-h2.sql}} in {{jdbc/}} example
* Update identity column syntax from Derby's {{GENERATED ALWAYS AS IDENTITY}}
to H2's simpler {{AUTO_INCREMENT}} syntax
* All standard SQL ({{{}VARCHAR{}}}, {{{}TIMESTAMP{}}}, parameterized queries)
works identically with no code changes required
was (Author: tmielke):
#
## Analysis of camel-examples repository
[https://github.com/apache/camel-examples/pull/205]
The two demos {{jdbc/}} and {{aggregate-dist/}} got migrated to use H2 Database
for long-term maintainability.
Changes:
* Replace Derby dependencies (derby, derbytools) with H2 in {{pom.xml}}
* Update Spring embedded database configuration from {{DERBY}} to {{H2}}
* Rename {{create-derby.sql}} to {{create-h2.sql}} in {{jdbc/}} example
* Update identity column syntax from Derby's {{GENERATED ALWAYS AS IDENTITY}}
to H2's simpler {{AUTO_INCREMENT}} syntax
* All standard SQL ({{{}VARCHAR{}}}, {{{}TIMESTAMP{}}}, parameterized queries)
works identically with no code changes required
> 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)