using haversine to filter query by distance

13 views
Skip to first unread message

Omid QSM

unread,
Apr 6, 2017, 6:38:01 AM4/6/17
to Querydsl
Hi
How can I use haversine formula to filter query results in querydsl?
I've got two latitude and longitude columns in my table
I need to get nearest places to a specific point by latitude, longitude and radius
And I need to use Haversine in where clause of JpaQuery
Please help
Reply all
Reply to author
Forward
0 new messages