JiriOndrusek commented on a change in pull request #3066:
URL: https://github.com/apache/camel-quarkus/pull/3066#discussion_r704345954



##########
File path: integration-tests/sql/README.adoc
##########
@@ -0,0 +1,45 @@
+== SQL integration tests
+
+=== Default database type
+
+When the tests are executed without any special configuration, dev-service 
`H2` database is used (more details will follow).
+
+=== Dev-service databases
+
+As is described  in the 
https://quarkus.io/guides/datasource#dev-services[documentation], several 
database types could be started in dev-service mode.
+Running the tests against a database in dev-service mode could be achieved by 
addition of build property `SQL_JDBC_DB_KIND`. Example of usage:
+
+`mvn clean test -f integration-tests/sql/ -DSQL_JDBC_DB_KIND=postgresql`
+
+Following databases could be started in the dev-service mode:
+
+- Postgresql (container) - add `-DSQL_JDBC_DB_KIND=postgresql`
+- MySQL (container) - add `-DSQL_JDBC_DB_KIND=mysql`
+- MariaDB (container) - add `-DSQL_JDBC_DB_KIND=mariadb`
+- H2 (in-process) used by default
+- Apache Derby (in-process) - add `-DSQL_JDBC_DB_KIND=derby`
+- DB2 (container) (requires license acceptance) - add `-DSQL_JDBC_DB_KIND=db2`
+- MSSQL (container) (requires license acceptance) - add 
`-DSQL_JDBC_DB_KIND=mssql`
+
+For more information about dev-service mode, see 
https://quarkus.io/guides/datasource#dev-services[documentation].

Review comment:
       done




-- 
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-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to