Updated MySQL configuration instructions to highlight the dependence between the default Derby datasource configuration and the integration tests

This commit is contained in:
Justin Wolgamott
2019-05-23 10:23:00 -04:00
parent 23ad3ec62c
commit 19cbeba5cf

View File

@@ -34,6 +34,8 @@ To configure the starter app to use MySQL, instead of the default Derby, update
* datasource.url=jdbc:mysql://localhost:3306/hapi_dstu3
* hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
Because the integration tests within the project rely on the default Derby database configuration, it is important to either explicity skip the integration tests during the build process, i.e., `mvn install -DskipTests`, or delete the tests altogether. Failure to skip or delete the tests once you've configured MySQL for the datasource.driver, datasource.url, and hibernate.dialect as outlined above will result in build errors and compilation failure.
It is important to use MySQL5Dialect when using MySQL version 5+.
# Customizing The Web Testpage UI