hibernate-spatial 问答列表

java.lang.IllegalArgumentException:无法随机转换 org.postgresql.util.PGobject 类型的对象

作者:Dhara Patel 提问时间:8/26/2022

我随机遇到这个问题:我有一个带有纬度、经度和位置类型列的表,其中位置列具有几何类型并且数据输入正确,而且我能够在某个时候取回数据,但有时我得到一个java.lang.IllegalArgumentEx...

PostGis 使用ST_GeomFromText时几何无效

作者:JavDevHar 提问时间:1/10/2023

我正在将 Postgis 与 Spring Boot Hibernate JPA 一起使用。 存储库中的代码: @Query(value = "select {h-schema}ref_plz_g...

在MySQL数据库中使用Hibernate Spatial的Spring Boot 问题 - 无法将值设置为点

作者:S.N 提问时间:7/18/2023

我在 Spring Boot 中使用 Hibanate Spatial 功能的使用者将纬度和经度设置为 Point 时遇到了问题。 我无法设置它,因为我想 .columnDefinition 我该...

使用 PostGIS 的本机查询引发 HttpMessageNotWritableException

作者:Simonas Petkevičius 提问时间:11/18/2023

我的Spring Data JPA存储库中有两个查询,一个是用JPQL编写的,另一个是用本机SQL编写的。JPQL 查询可以完美运行,而本机查询会抛出 HttpMessageNotWritableEx...


共4条 当前第1页