PostGIS Geometry saving: “Invalid endian flag value encountered.”

后端 未结 5 1734
广开言路
广开言路 2020-12-07 01:05

I have a Spring Roo + Hibernate project which takes a JTS well-known text (WKT) String input from the client application, converts it into a JTS Geometry object, and then at

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 01:21

    I solve this problem adding to 'application.properties' this line:

    spring.jpa.properties.hibernate.dialect=org.hibernate.spatial.dialect.postgis.PostgisDialect
    

提交回复
热议问题