i would like to get some help with my project, i followed all the instruction, and i have docker with postgresql+ postgis (image postgis/postgis) and the entities is working perfectly, but i try to use st_dwithin method and @query isnt regonizing the method any solution? i will add my settings:
enter image description hereenter image description hereenter image description hereenter image description here
the query is: @Query(“SELECT o FROM ObjectEntity o WHERE dwithin(o.geom, point( :lng , :lat) ,:distance ) = true”)
the error code : Caused by: org.hibernate.query.SemanticException: Cannot compare left expression of type ‘java.lang.Object’ with right expression of type ‘java.lang.Boolean’
thanks!
i thought that by using these maven dependcies its will allow the query to generate correctly
Aviad Korakin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.