You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/12/09 15:34:22 UTC

[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #3370: Sql test using derby doesn't start dev service and shows class loadin…

aldettinger commented on a change in pull request #3370:
URL: https://github.com/apache/camel-quarkus/pull/3370#discussion_r765904264



##########
File path: integration-tests/sql/README.adoc
##########
@@ -42,4 +42,32 @@ $Env:SQL_JDBC_USERNAME="#username"
 $Env:SQL_JDBC_PASSWORD="#password"
 ```
 
-Oracle database could be used as external db. In that case use parameter `-Dcq.sqlJdbcKind=oracle`.
\ No newline at end of file
+Oracle database could be used as external db. In that case use parameter `-Dcq.sqlJdbcKind=oracle`.
+
+=== External Derby database
+
+To execute tests against external Derby database, stored procedure has to be uploaded into the database classpath.
+Jar with stored procedure for the derby database is creaed by module `sql-derby`.
+Jar could be uploaded via following commands through `ij`:
+```
+CALL sqlj.install_jar('/PATH_TO_JAR/camel-quarkus-integration-test-sql-derby-stored-procedure-*.jar', 'AddNumsProcedure' , 0)
+
+CALL syscs_util.syscs_set_database_property('derby.database.classpath', 'APP.ADDNUMSPROCEDURE')
+```

Review comment:
       In such case, I wonder whether pointing to a documentation owned by derby would be good ? From time to time, I found us modifying docs for things that under camel-quarkus control.




-- 
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