Search code examples
spring-bootgemfire

How do I set the Hibernate dialect in SpringBoot?


I have a custom dialect to set for Hibernate in SpringBoot. The dialect is for Gemfire. The instructions 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


Solution

  • In application.properties

    spring.jpa.properties.hibernate.dialect = com.pivotal.gemfirexd.hibernate.GemFireXDDialect