Spatial queries with hibernate 5 and JPA


I use Spatial coordinates from hibernate 5:



@Spatial(spatialMode = SpatialMode.HASH)
@Indexed
@Entity
public class Hotel {

@Latitude
Double latitude;

@Longitude
Double longitude;
}


The help from hibernate explain how to perform a spatial querry
using a querry builder. Is there a way to perform this request with
spring data jpa ?


- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow