Answers for "jpa entity geographic with postgis"

0

jpa entity geographic with postgis

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-spatial</artifactId>
    <version>5.2.17.Final</version><!-- In my case was this version, needs to match with your hibernate core version-->
</dependency>
Posted by: Guest on October-14-2020
0

jpa entity geographic with postgis

GeometryFactory gf = new GeometryFactory();
Point point = gf.createPoint(new Coordinate(lat, lon));
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language