问题
I have a custom dialect to set for Hibernate in SpringBoot. The dialect is for Gemfire. The instructions (https://discuss.zendesk.com/hc/en-us/articles/201724017-Pivotal-GemFire-XD-Hibernate-Dialect) are for XML-based config. However, I am using SpringBoot and I cannot figure out how to set this property.
The dialect is "com.pivotal.gemfirexd.hibernate.GemFireXDDialect"
回答1:
In application.properties
spring.jpa.properties.hibernate.dialect = com.pivotal.gemfirexd.hibernate.GemFireXDDialect
回答2:
You can use this approach as well:
spring.jpa.database-platform=com.pivotal.gemfirexd.hibernate.GemFireXDDialect
来源:https://stackoverflow.com/questions/38581074/how-do-i-set-the-hibernate-dialect-in-springboot