spring-boot - 如何在 Spring Boot 中设置 Hibernate 方言?

标签 spring-boot gemfire

我有一个自定义方言要在 SpringBoot 中为 Hibernate 设置。该方言适用于 Gemfire。说明 ( https://discuss.zendesk.com/hc/en-us/articles/201724017-Pivotal-GemFire-XD-Hibernate-Dialect ) 适用于基于 XML 的配置。但是,我正在使用 SpringBoot,我无法弄清楚如何设置此属性。

方言是“com.pivotal.gemfirexd.hibernate.GemFireXDDialect”

最佳答案

在 application.properties 中

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

关于spring-boot - 如何在 Spring Boot 中设置 Hibernate 方言?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38581074/

相关文章:

java - 蒙戈 : $type is not working in mongo find query

java - Gemfire 中的多个缓存创建

java - 从 Oracle 表加载和更新 Gemfire 缓存

java - 使用entityManager仅更新选定的字段

spring - 通过示例进行Spring Boot和Logback

spring-boot - Spring-Data-Gemfire - 无法联系定位器服务。操作超时或定位器不存在

java - 使用 Rest 模板对外部网站进行 PUT 调用

caching - 需要通过多键查找持久保存在内存缓存中

java - 为什么 TestRestTemplate 允许在 Spring Boot IT 测试中进行未经身份验证的请求?

java - 在 Spring Boot 中接受阿拉伯日期作为查询参数