tmielke opened a new pull request, #23672:
URL: https://github.com/apache/camel/pull/23672

   Apache Derby is a retired Apache project. Replaced with H2 database for all 
`camel-jdbc` tests.
   
   - Replaced Derby test dependencies with H2 in `pom.xml`
   - Updated SQL schema (`init.sql`) to use H2-compatible syntax:
     * Auto-increment: `GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY`
     * CLOB definition simplified (removed size specification)
   - Changed embedded database type from DERBY to H2 in:
     * `AbstractJdbcTestSupport.java`
     * `camelContext.xml` (Spring XML example)
     * `jdbc-component.adoc` (documentation)
   - Made generated keys tests database-agnostic to handle differences:
     * H2 returns column name "ID" vs Derby's column index "1"
     * H2 returns `Integer` vs Derby's `BigDecimal` for auto-increment values
   
   All 42 tests pass successfully. No production code affected - Derby was only 
used in test scope.
   
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to