spring.jpa.properties.hibernate.dialect=org.hibernate.spatial.dialect.postgis.PostgisDialect
我有一个SpringBootv1.5应用程序,使用Hibernate 5运行Postgis数据库。但是,我对空间查询有问题,但Invalid endian flag value encountered.除外。通过搜索该异常,可以获得将appropirate方言添加到属性文件的解决方案。直接在psql中运行
我试图使用jboss代码生成为postgresql中的表生成DAO和hibernate映射。我已经设置了hibernate配置,但是当我试图连接时,我得到了以下错误: at org.hibernate.type.StandardBasicTypes<clinit>(StandardBasicTypes.java:54)
at org.hibernate.spatial.dialect.postgis.Po