You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "tmielke (via GitHub)" <gi...@apache.org> on 2026/06/12 11:45:00 UTC
[PR] CAMEL-23481: replace retired Apache Derby with H2 in camel-example repo [camel-examples]
tmielke opened a new pull request, #205:
URL: https://github.com/apache/camel-examples/pull/205
Apache Derby is a retired Apache project.
This commit migrates the `jdbc/` and `aggregate-dist/` examples 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
Unit tests for both demos pass.
Made with help from AI tools.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23481: replace retired Apache Derby with H2 in camel-example repo [camel-examples]
Posted by "apupier (via GitHub)" <gi...@apache.org>.
apupier merged PR #205:
URL: https://github.com/apache/camel-examples/pull/205
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org