首页 > 解决方案 > 如何自定义hibernate的postgresql PostGIS方言

问题描述

为了在我的项目中使用jsonb类型的postgresql,我自定义了一种hibernate的postgresql方言;

我的项目中的配置: 在此处输入图像描述

我发现如果要使用postgis,需要配置hibernate的方言

        <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>

这与我的原始项目冲突,我该怎么办?

标签: postgresqlhibernategeometrypostgisdialect

解决方案


推荐阅读