hibernate-spatial Questions
3
My Environment
mysql 8.0.25
hibernate-core:5.4.32
hibernate-spatial:5.4.32
spring-boot2.5.4
java 8
What I did
application.yml
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
ur...
Cabochon asked 12/9, 2021 at 5:51
2
Solved
We have been using H2 for our integration tests for quite some time. Now that H2 2.0.202 is out, we are trying to upgrade our codebase to it. We are unable to persist entities, that use java.util.U...
Brocky asked 1/12, 2021 at 14:12
2
Solved
In a Spring Boot project, Java8, with hibernate-spatial and PostgresDB 9.4
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-spatial</artifactId>...
Nomology asked 28/8, 2017 at 23:5
7
Solved
After upgrading Hibernate-spatial to Version 5.0.0.CR2 the following declaration doesn't work anymore:
@Column(columnDefinition = "geometry(Point,4326)")
@Type(type = "org.hibernate.spatial.Geomet...
Surroundings asked 15/7, 2015 at 20:32
2
Dear stackoverflow readers,
I'm currently working on an application that has the requirement to load specific items based on its coordinates. Example: I want all shops from coordinates x or within...
Othaothe asked 2/5, 2013 at 8:47
3
Given the query example here: http://www.hibernatespatial.org/tutorial-hs4.html
Query query = em.createQuery("select e from Event e where within(e.location, :filter) = true", Event.class);
query....
Wessel asked 16/9, 2013 at 7:3
5
I am working on my first Spring Boot + Spring Data JPA + Hibernate 5 working on a PostgreSQL database.
I have the following problem trying to map a field having point as data type (so I am using H...
Mutt asked 30/10, 2016 at 8:18
1
Solved
I would like to rewrite the following query in a Predicate/Specification so that i can link them.
this query filters all my defined OptEvent Entitys within a specific area
@Query(value = "SELECT ...
Coagulant asked 8/4, 2020 at 10:47
2
I'm trying to run a simple query in Hibernate Spatial 4.0 on PostgreSQL 9.3. I have a number of objects in a table with latitude/longitude values, and I'm trying to query objects that fall within a...
Tude asked 19/11, 2013 at 19:1
3
Solved
I am using spring boot command line runner app, it hangs at PostGIS dialect, the below stack trace contains what's happening. Unable to understand what's going wrong, I have hibernate-spatial queri...
Telethermometer asked 6/4, 2018 at 0:21
2
Here is my config now. I want to use hibernate spatial to work with postgis in production.
spring:
profiles: production
datasource:
platform: postgres
url: jdbc:postgresql://192.168.99.100:54...
Overdress asked 9/11, 2015 at 10:32
1
I am developing an location app with oracle spatial in Java. I am using hibernate 4.0 spatial for orm layer. I am new in spatial and i couldn't find best practise for hibernate spatial. My database...
Cordi asked 20/1, 2017 at 5:52
3
Assume I have the following table
CREATE TABLE foo (
id BIGSERIAL PRIMARY KEY,
polygon GEOMETRY(POLYGON)
);
and entity class
@Table
@Entity
public class Foo {
@Id
@GeneratedValue(strategy...
Fritzsche asked 3/6, 2016 at 11:16
2
I'm using postgresql, hibernate-spatial and postgis and expected to be able to use a SqlQuery to retrieve a Geometry object.
However whenever I try to query a Point, Polygon or Geometry eg
List l...
Bunni asked 21/1, 2013 at 9:43
2
Solved
I'm trying to query spatial relations between my entities but keep getting this exception:
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST node: ( near line 1,
My entities ar...
Usable asked 30/10, 2014 at 13:3
2
I am developing a GIS application with java(Spring-4.1.5 + Hibernate-4.3.8) and OpenLayers. For this project I use GeoTools-13RC, HibernateSptial-4.3, jts-1.13 and jackson-2.5.
In this project, I h...
Neilson asked 20/4, 2015 at 5:35
1
Solved
My application is going to use the following technologies:
Postgresql
Postgis
JPA/Hibernate
Spring
Spring Data JPA
I understand (from the Hibernate Spatial documentation) that one has to use th...
Ionization asked 30/5, 2014 at 13:10
1
Solved
I am new to Hibernate Spatial, and am trying to perform a simple query of objects within a given radius. I've created a number of entries in my database with properties corresponding to a latitude ...
Ultramarine asked 17/11, 2013 at 1:41
1
© 2022 - 2025 — McMap. All rights reserved.