[CAMEL-23481] replacing retired Apache Derby with HSQL and MariaDB in camel-sql#23597
[CAMEL-23481] replacing retired Apache Derby with HSQL and MariaDB in camel-sql#23597tmielke wants to merge 5 commits into
Conversation
stored procedures and stored function tests in sql-stored: component. While HSQL has support for stored procedures, it does not support SQL stored functions, neither does H2 support them. So using an embedded MariaDB4j instance to test SQL stored functions in class SqlFunctionDataSourceTest. Running an embedded MariaDB4j instance is slower to initialize, so using it only for the single test class SqlFunctionDataSourceTest. Made with help from AI tools.
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
It seems derby is using as testing for some other components Error: The project org.apache.camel:camel-spring-jdbc:4.21.0-SNAPSHOT (/home/runner/work/camel/camel/components/camel-spring-parent/camel-spring-jdbc/pom.xml) has 2 errors |
|
Yes, I initially replaced Derby in all components that use it but realised there are quite some changes and decided to go component by component. I need to reintroduce Derby until the last component does not use it. Let me fix that. |
…ntil no component uses Derby.
| <debezium-mysql-connector-version>9.7.0</debezium-mysql-connector-version> | ||
| <derby-version>10.16.1.1</derby-version> |
| <version>${derby-version}</version> | ||
| <groupId>com.h2database</groupId> | ||
| <artifactId>h2</artifactId> | ||
| <version>${h2-version}</version> |
|
🧪 CI tested the following changed modules:
✅ POM dependency changes: targeted tests included Changed properties: debezium-mysql-connector-version, derby-version, mariadb-version, mariadb4j-version Modules affected by dependency changes (9)
All tested modules (233 modules)
|
[CAMEL-23481] replacing retired Apache Derby with HSQL and MariaDB for stored procedures and stored function tests in
sql-stored:component.While HSQL has support for stored procedures, it does not support SQL stored functions, neither does H2 support them.
So using an embedded MariaDB4j instance to test SQL stored functions in class
SqlFunctionDataSourceTest.Running an embedded MariaDB4j instance is slower to initialize, so using it only for the single test class SqlFunctionDataSourceTest.
Made with help from AI tools.