Skip to content

Commit

Permalink
HHH-14442 Upgrade geolatte-geom to 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maesenka authored and dreab8 committed Feb 9, 2021
1 parent 1493180 commit 5af975d
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 50 deletions.
2 changes: 1 addition & 1 deletion gradle/libraries.gradle
Expand Up @@ -29,7 +29,7 @@ ext {

assertjVersion = '3.14.0'

geolatteVersion = '1.4.0'
geolatteVersion = '1.6.1'

// Wildfly version targeted by module ZIP; Arquillian/Shrinkwrap versions used for CDI testing and testing the module ZIP
wildflyVersion = '17.0.1.Final'
Expand Down
1 change: 1 addition & 0 deletions hibernate-spatial/.gitignore
@@ -0,0 +1 @@
.sdkmanrc
4 changes: 4 additions & 0 deletions hibernate-spatial/.sdkmanrc
@@ -0,0 +1,4 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=8.0.252.hs-adpt

Expand Up @@ -7,7 +7,7 @@

hibernate.dialect org.hibernate.spatial.dialect.oracle.OracleSpatial10gDialect
hibernate.connection.driver_class oracle.jdbc.OracleDriver
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCLCDB
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCL
hibernate.connection.username C##hibernate
hibernate.connection.password hibernate

Expand Down
Expand Up @@ -7,7 +7,7 @@

hibernate.dialect org.hibernate.spatial.dialect.oracle.OracleSpatial10gDialect
hibernate.connection.driver_class oracle.jdbc.OracleDriver
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCLCDB
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCL
hibernate.connection.username C##hibernate
hibernate.connection.password hibernate

Expand Down
Expand Up @@ -7,7 +7,7 @@

hibernate.dialect org.hibernate.spatial.dialect.oracle.OracleSpatialSDO10gDialect
hibernate.connection.driver_class oracle.jdbc.OracleDriver
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCLCDB
hibernate.connection.url jdbc:oracle:thin:@localhost:1521:ORCL
hibernate.connection.username C##hibernate
hibernate.connection.password hibernate

Expand Down
2 changes: 1 addition & 1 deletion hibernate-spatial/databases/postgispg96/matrix.gradle
Expand Up @@ -4,4 +4,4 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
jdbcDependency "postgresql:postgresql:8.4-701.jdbc4"
jdbcDependency 'org.postgresql:postgresql:42.2.2'
Expand Up @@ -5,16 +5,14 @@
# See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
#

hibernate.test.new_metadata_mappings = true

hibernate.dialect org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
hibernate.connection.driver_class org.postgresql.Driver
hibernate.connection.url jdbc:postgresql://localhost:9432
hibernate.connection.url jdbc:postgresql://localhost:9432/
hibernate.connection.username hibern8
hibernate.connection.password hibern8


hibernate.connection.pool_size 5

hibernate.show_sql true
hibernate.format_sql true

Expand Down

This file was deleted.

11 changes: 0 additions & 11 deletions hibernate-spatial/databases/sqlserver2012_spatial/matrix.gradle

This file was deleted.

@@ -1,7 +1,7 @@
package org.hibernate.spatial.testing;

import org.geolatte.geom.Geometry;
import org.geolatte.geom.GeometryPointEquality;
import org.geolatte.geom.GeometryPositionEquality;
import org.geolatte.geom.Position;

/**
Expand All @@ -12,7 +12,7 @@ public class GeolatteGeometryEquality<P extends Position> implements GeometryEqu
private final org.geolatte.geom.GeometryEquality delegate;

public GeolatteGeometryEquality() {
this( new GeometryPointEquality() );
this( new GeometryPositionEquality() );
}

public GeolatteGeometryEquality(org.geolatte.geom.GeometryEquality delegate) {
Expand Down
8 changes: 3 additions & 5 deletions hibernate-spatial/src/test/resources/hibernate.properties
Expand Up @@ -6,8 +6,6 @@
#

# Default unit/integration test config.
hibernate.test.new_metadata_mappings = true
hibernate.connection.pool_size 5

hibernate.show_sql true

Expand All @@ -30,9 +28,9 @@ hibernate.connection.password @jdbc.pass@
#
#hibernate.dialect org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
#hibernate.connection.driver_class org.postgresql.Driver
#hibernate.connection.url jdbc:postgresql://localhost:5432/hibbrtru
#hibernate.connection.username hibbrtru
#hibernate.connection.password hibbrtru
#hibernate.connection.url jdbc:postgresql://localhost:9432/
#hibernate.connection.username hibern8
#hibernate.connection.password hibern8

##
## GeoDb (H2 spatial extension)
Expand Down

0 comments on commit 5af975d

Please sign in to comment.