Added instructions about removing Hibernate dialect

To fix the problem raised in [this](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/318) issue.
This commit is contained in:
Håkan MacLean
2022-02-22 09:36:41 +01:00
committed by GitHub
parent deefd595dd
commit 1a528978b8

View File

@@ -189,6 +189,13 @@ spring:
password: admin password: admin
driverClassName: com.mysql.jdbc.Driver driverClassName: com.mysql.jdbc.Driver
``` ```
Also, make sure you are not setting the Hibernate dialect explicitly, in other words remove any lines similar to:
```
hibernate.dialect: {some none MySQL dialect}
```
On some systems, it might be necessary to override hibernate's default naming strategy. The naming strategy must be set using spring.jpa.hibernate.physical_naming_strategy. On some systems, it might be necessary to override hibernate's default naming strategy. The naming strategy must be set using spring.jpa.hibernate.physical_naming_strategy.
```yaml ```yaml
@@ -279,6 +286,8 @@ spring:
driverClassName: com.mysql.jdbc.Driver driverClassName: com.mysql.jdbc.Driver
``` ```
Also, make sure you are not setting the Hibernate Dialect explicitly, see more details in the section about MySQL.
## Running hapi-fhir-jpaserver directly from IntelliJ as Spring Boot ## Running hapi-fhir-jpaserver directly from IntelliJ as Spring Boot
Make sure you run with the maven profile called ```boot``` and NOT also ```jetty```. Then you are ready to press debug the project directly without any extra Application Servers. Make sure you run with the maven profile called ```boot``` and NOT also ```jetty```. Then you are ready to press debug the project directly without any extra Application Servers.