Map a PostGIS geometry point field with Hibernate on Spring Boot

前端 未结 5 638
忘掉有多难
忘掉有多难 2020-12-24 07:30

In my PostgreSQL 9.3 + PostGIS 2.1.5 I have a table PLACE with a column coordinates of type Geometry(Point,26910).

I want to m

5条回答
  •  一生所求
    2020-12-24 07:58

    The problem doesn't appear to be related to PostgreSQL. It appears that your POJO has a backreference, which means that your mapper doesn't know how to handle it. You need to explicitly define the recursive relationships so that the mapper knows when to stop. (My Goto link --> http://vard-lokkur.blogspot.com/2010/10/json-jackson-to-rescue.html)

提交回复
热议问题