Hibernate Spatial: “No Dialect mapping for JDBC type: 3000”

后端 未结 2 1775
深忆病人
深忆病人 2021-01-14 19:38

I\'m attempting to integrate Spring Roo with a PostGIS-enabled PostgreSQL database via Hibernate, following the Hibernate Spatial tutorial. All of the non-GIS stuff is worki

2条回答
  •  悲哀的现实
    2021-01-14 20:14

    I found solution!

    (Grails, Hibernate Spatial 4.3, Config.groovy)

    hibernate {
        // ...
        dialect = 'org.hibernate.spatial.dialect.postgis.PostgisDialect'
    }
    

提交回复
热议问题