I had a couple of entity classes that worked with Spring Data JPA. (These entity classes are in a postgres db with postgis installed and contain geometry fields.)
However, when I switched to r2dbc, it did not work. Any pointers will be appreciated.
Error Caused by: java.lang.IllegalStateException: Required identifier property not found for class org.locationtech.jts.geom.Geometry!
@Entity
public class Place {
@Id
public int id;
@Column(columnDefinition="Geometry")
@Type(type="org.hibernate.spatial.GeometryType")
public com.vividsolutions.jts.geom.Point coordinates;
}