Commit Graph

225 Commits

Author SHA1 Message Date
Karel Maesen f0a81898dc HHH-14442 Upgrade geolatte-geom to 1.6.1 2021-02-06 14:32:41 +01:00
Andrea Boriero 4d8c89920a Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-27 14:24:37 +00:00
Sanne Grinovero 2ef9451112 HHH-14284 Update Oracle JDBC driver configuration to test with version 19.8.0.0 2020-10-26 21:49:28 +00:00
Andrea Boriero 9cf4edfbee Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-26 08:14:01 +00:00
Sanne Grinovero 5bc23aa964 HHH-10715 The GeometryFactory field in Spatial's EnvelopeAdapter needs synchronization 2020-10-25 21:33:32 +00:00
Andrea Boriero 140fbb45d6 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-09-22 11:43:55 +01:00
Yanming Zhou 4499abd9a9 Replace StringBuffer with StringBuilder
avoid unnecessary synchronization
2020-09-09 07:55:00 +02:00
Andrea Boriero 257e479e92 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_39 2020-05-14 10:00:59 +01:00
Daniel Shuy 09105b8dee
HHH-13975 Geolatte-geom support for SpatialPredicates
* Rename SpatialPredicates to JTSSpatialPredicates

* Add GeolatteSpatialPredicates

* Fix Checkstyle violations

* Add deprecation notice
2020-05-13 20:58:44 +02:00
Andrea Boriero 9ec19e3c65 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_36 2020-04-22 15:15:10 +01:00
Panagiotis Sotiropoulos 6e07062b20 HHH-13960 One more checkstyle fix 2020-04-21 11:10:36 +01:00
Panagiotis Sotiropoulos 55e54795c3 HHH-13960 Add SAXReader sec features to match the defaults 2020-04-21 10:49:59 +01:00
Andrea Boriero 5c86c4a805 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29 2020-04-09 07:37:11 +01:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Yoann Rodière aebf9d192f HHH-13925 Fix invalid javadoc syntax
This wasn't detected by checkstyle in Gradle 5, but it is now, and that
fails the build.
2020-04-06 16:04:55 +02:00
Andrea Boriero abe1e656f7 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-03-03 16:59:30 +00:00
Daniel Shuy cab651e194
HHH-13799 : Criteria API support for Hibernate Spatial (#3159)
* HHH-13799 : Criteria API support for Hibernate Spatial

Co-authored-by: Karel Maesen <karel@geovise.com>
2020-02-24 14:42:48 +01:00
Steve Ebersole c6a11d99fd 6 - SQM based on JPA type system
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole d0116d7caa 6 - SQM based on JPA type system
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01:00
Steve Ebersole af2c32e32c 6 - SQM based on JPA type system 2019-09-12 10:42:27 +01:00
Yoann Rodière be7cc76556 HHH-13582 Upgrade MySQL Connector/J to 8.0.17
ConnectorJ 8 is the version used in WildFly integration tests.
ConnectorJ 5 is apparently no longer tested.

Note this solves most timezone-related issues we've been having.
2019-09-11 19:38:15 -05:00
Karel Maesen b856a85520 HHH-13257 - Adds MySQL8 Spatial Dialect 2019-03-07 22:56:22 +01:00
Karel Maesen 3a4ade9799 HHH-10148 - Fix checkstyle errors 2019-03-07 21:28:37 +01:00
Karel Maesen f68d08abc1 HHH-10148 - SpatialDialect for SqlServer2012 2019-03-07 20:04:06 +01:00
Karel Maesen d1d1f9f312 HHH-13083 - Add integration test 2018-12-06 22:02:38 +01:00
Karel Maesen d9dd1ebf62 HHH-13083 - Fix matrix tests 2018-12-06 21:29:24 +01:00
bernd hopp 89e36cf0e7 HHH-13083 Add support for st_makeenvelope in PostGIS dialect
https://postgis.net/docs/ST_MakeEnvelope.html
2018-12-06 21:29:24 +01:00
Karel Maesen b3e56a5db7 HHH-12144 - Upgrade JTS spatial library to 1.16 2018-09-19 20:09:44 +02:00
Karel Maesen 2cd4608f9f HHH-12608 Support for ST_Dwithin() in DB2 2018-07-21 17:15:37 +02:00
Jonathan Bregler 4405bb5c15 HHH-12798: Fix for nested spatial functions on SAP HANA 2018-07-12 13:53:15 +03:00
Andrea Boriero d2e38f8a0d HHH-12510 - Update PostgreSQL driver 2018-04-20 12:19:05 +01:00
Jonathan Bregler 69000ddc16 HHH-12462 - Use SAP HANA JDBC driver from Maven Central 2018-04-05 15:02:17 +03:00
Steve Ebersole b072981054 HHH-12410 - Cannot use AttributeConverter with spatial types
HHH-12443 - Introduce TypeConfiguration
2018-03-30 08:27:44 -05:00
Steve Ebersole c14180ea5b HHH-12410 - Cannot use AttributeConverter with spatial types
HHH-12443 - Introduce TypeConfiguration
2018-03-29 23:16:33 -05:00
Andrea Boriero 0d82dc7c83 HHH-12444 - Introduce BootstrapContext
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Jonathan Bregler 8c661baea2 HHH-12426 - SAP HANA spatial dialect should support all SAP HANA spatial functions 2018-03-27 12:35:27 +03:00
Roland Illig 8b11d5ecf9 HHH-12388 - User Guide and Javadoc typo fixes
Fix a/an grammar in code and documentation, and other typos
2018-03-14 14:17:55 +02:00
Sanne Grinovero 0f5c3a0abc HHH-11253 Make Byte Buddy BytecodeProvider impl the default 2018-03-02 12:19:18 +00:00
Karel Maesen a7a9170e4e HHH-11790 - Update code style for spatial module 2018-02-21 21:28:17 +01:00
Karel Maesen 0c5c7178b8 HHH-11790 - Support for DB2 Spatial Extender 2018-02-21 20:42:45 +01:00
Steve Ebersole d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole 78bc62fe1e HHH-12098 - prep 5.3
odd Java 9 build failures
2017-12-27 20:19:46 -06:00
Guillaume Smet 8e25e7f350 HHH-12164 Upgrade Hibernate Validator used for testing to 6.0.7.Final 2017-12-20 16:21:29 +00:00
Sanne Grinovero 2296ee7768 HHH-12158 No longer need a custom repository to fetch geolatte 1.2 2017-12-11 20:40:25 +00:00
Karel Maesen d7a87b3d5a HHH-11969 - Update postgresql driver to latest version (42.1.4) 2017-10-18 21:30:20 +02:00
Karel Maesen 36bf5c4be3 HHH-12042 - Update geolatte-geom to 1.2.0 2017-10-18 21:14:08 +02:00
Jonathan Bregler 8de0f9e2a1 Fix Hibernate Spatial test on SAP HANA 2017-10-13 10:52:12 -05:00
Jonathan Bregler 85dcac95d0 Improved Hibernate support for SAP HANA part 2
- implement PR comments
2017-09-21 12:05:19 -05:00
Jonathan Bregler 3aad752b04 Improved Hibernate support for SAP HANA
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Karel Maesen a7fc440e4c HHH-11764 - Fix PGGeometryTypeDescriptor 2017-06-14 22:08:40 +02:00
Vlad Mihalcea 216e61fc9b HHH-11764 - JTS geometry being bound to byte array instead of PGgeometry 2017-06-14 22:08:12 +02:00
Karel Maesen 193583466a HHH-11283 - Upgrade to geolatte-geom 1.1.0 2017-06-04 14:54:04 +02:00
Richard Bradley 3a813dcbb4 HHH-11646 revert errant after -> afterQuery search and replace 2017-05-03 11:54:37 +03:00
Andrea Boriero 9cb171bfeb HHH-11473 - Fix checkstyle errors 2017-02-21 10:37:16 +00:00
Vlad Mihalcea 2980dc4e84 HHH-11473 - Refactor MySQL Dialects
- Add a mention of MySQL5SpatialDialect as well in the User Guide
2017-02-21 08:14:50 +02:00
Vlad Mihalcea c0e59563dc HHH-11473 - Refactor MySQL Dialects
- MySQL56SpatialDialect can default to InnoDB by default
2017-02-21 08:09:07 +02:00
Vlad Mihalcea 91d1f38d95 HHH-11473 - Refactor MySQL Dialects
- Simplify InnoDB deprecated Dialects by just overriding the default storage engine method
2017-02-21 07:58:48 +02:00
Vlad Mihalcea 2b79644b63 HHH-11473 - Refactor MySQL Dialects 2017-02-20 15:35:16 +02:00
Karel Maesen 13945e7544 HHH-7132 - Fixed build failure 2017-02-12 12:50:58 +01:00
Karel Maesen b9ddc063cd HHH-7132 - New Oracle Spatial Dialect that is non-OGC compliant 2017-02-11 18:08:56 +01:00
Rafael Winterhalter ba3359fe62 HHH-11152: Added BytecodeProvider based on Byte Buddy 2016-11-16 13:18:46 -06:00
Karel Maesen 52c79e1d3c HHH-10211 - Fix SpatialFunctionRegistry interface 2016-11-01 17:57:02 +01:00
Karel Maesen c3b1a39944 HHH-10211 - Fix serialization of Postgis dialects 2016-11-01 17:52:07 +01:00
Karel Maesen d1f22d490c HHH-10211 - Improves Javadoc comments 2016-11-01 17:07:01 +01:00
Karel Maesen 55ed5faa3b HHH-10211 - Checkstyle fixes 2016-11-01 17:07:01 +01:00
Karel Maesen 70d55987f8 HHH-10211 - Postgis Dialects for all PostgreSQLDialect classes 2016-11-01 17:07:01 +01:00
Karel Maesen 380b474dda HHH-11198 - Fix checkstyle error 2016-10-31 20:26:46 +01:00
Karel Maesen a882a7bd54 HHH-11198 - Add Geometry cast to Postgis st_extent() function 2016-10-29 16:18:13 +02:00
Karel Maesen dbc7131155 HHH-11197 - Fix WKT parsing error 2016-10-29 14:46:35 +02:00
Karel Maesen eada559ebe HHH-11087 - Fix missing type contribution in dialect
Also fixes broken integration tests
2016-10-01 16:33:43 +02:00
Karel Maesen db7c6c58f1 HHH-11012 - Update to geolatte-geom 1.0.6 2016-10-01 14:23:40 +02:00
Karel Maesen 5cc9d26d0d HH-10987 - Update geolatte-geom to 1.0.4 2016-08-02 11:44:51 +02:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Vlad Mihalcea 0ed39c7746 Change hibernate.properties to take configurable environment settings 2016-03-16 09:30:29 +02:00
Karel Maesen 8d2de0beaa HHH-7132 - Oracle Spatial Dialect locates ConnectionFinder using Registry 2016-02-20 17:58:41 +01:00
Andrea Boriero f6c45ad11c HHH-9286 - Add BasicBinder#bind(CallableStatement st, J value, String name, WrapperOptions options) method 2016-01-27 16:40:48 +00:00
Andrea Boriero 3699cdb3f9 HHH-10157 - Fix checkstyle error 2015-11-30 09:04:48 +00:00
Andrea Boriero 265d5d9b88 HHH-10157 - Fix gradle dependencies 2015-11-30 09:04:09 +00:00
Karel Maesen b9a988584a HHH-10157 Postgis deserializer accepts also WKT
When the Postgis JDBC driver is on the classpath, Hibernate receives EWKT
instead of EWKB entities.
2015-11-29 19:52:53 +01:00
Steve Ebersole 7af7ebaf87 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry
2015-09-30 12:37:49 -05:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +01:00
Karel Maesen 96d6365a64 HHH-9860 - upgrade geolatte version 2015-07-01 12:11:13 +02:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole f6980f3324 release 5.0.0.Beta2 2015-04-29 23:21:38 -05:00
Steve Ebersole 82b312dd21 HHH-9746 - Improve hibernate-spatial integration;
plus added copyright headers
2015-04-24 09:28:13 -05:00
Karel Maesen 620a379f89 HHH-6509 - Adds sonatype repository for geolatte-geom snapshots 2015-04-24 05:55:54 -05:00
Karel Maesen 9d2bf8b467 HHH-6509 - Fixes Oracle11g integration tests 2015-04-24 05:55:54 -05:00
Karel Maesen 609d404627 HHH-6509 - Adds TypeContributor bootstrap 2015-04-24 05:55:54 -05:00
Karel Maesen e2b44fb130 HHH-6511 - Fixes insert template for PostGis 2.x (test code) 2015-04-24 05:55:54 -05:00
Karel Maesen 9ccd331831 HHH-6509 - Using jboss message logger for logging 2015-04-24 05:55:54 -05:00
Karel Maesen 97de410e8c HHH-6509 : updates to beta-1 2015-04-24 05:55:54 -05:00
Karel Maesen 2738d0f5c7 HHH-6512 - Refactors Oracle support. 2015-04-24 05:55:54 -05:00
Karel Maesen dbfeb16e43 HHH-6509 - Updates to geolatte-geom 1.0-SNAPSHOT 2015-04-24 05:55:54 -05:00
Karel Maesen ed98698aa4 HHH-6509 - Cleans up findBug warnings. 2015-04-24 05:55:54 -05:00
Karel Maesen e80a67307f HHH-6509 - Updates to latest BaseCoreFunctionalTestCase interface. 2015-04-24 05:55:54 -05:00
Karel Maesen f0bb66fe8b HHH-6509 - Updates Log interface to newer version. 2015-04-24 05:55:54 -05:00
Karel Maesen eb8992a70b HHH-6509 - Aligns with metamodel-to-master merge. 2015-04-24 05:55:54 -05:00
Karel Maesen 55bec79cd4 HHH-6509 - Adds DialectFactoryContributor 2015-04-24 05:55:54 -05:00
Karel Maesen c55d250025 Backports HIBSPA-95 HIBSPA-99, HIBSPA-100, HIBSPA-101, HIBSPA-102.
Conflicts:
	hibernate-spatial/databases/mysql5_innodb/resources/hibernate.properties
	hibernate-spatial/hibernate-spatial.gradle
	hibernate-spatial/src/main/java/org/hibernate/spatial/criterion/DWithinExpression.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/h2geodb/GeoDBDialect.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/h2geodb/WKB.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleJDBCTypeFactory.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatial10gDialect.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometry.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryTypeDescriptor.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryValueBinder.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/integration/SpatialIntegrator.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/integration/GeomEntity.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/integration/TestSpatialFunctions.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/SpatialFunctionalTestCase.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/TestSupportFactories.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2geodb/GeoDBExpectationsFactory.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/mysql/MySQLExpectationsFactory.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/oracle/SDOGeometryExpectationsFactory.java
	hibernate-spatial/src/test/resources/hibernate.properties
2015-04-24 05:55:54 -05:00
Karel Maesen 6e91485549 HHH-6509 - Improves how SpatialFunctionalTestCase extends BasecoreFunctionalTestCase. 2015-04-24 05:55:53 -05:00
Karel Maesen d226ef36f2 HHH-6509 - Change type contribution: SpatialDialects now register types.
This is done so that in a later stage we can more easily customize the
type mapping to the dialect (e.g. in the case of Oracle Spatial).
2015-04-24 05:55:53 -05:00
Karel Maesen 290c8354b3 HHH-6511 - Fixes Postgis, Mysql, SQL Server and GeoDB dialects for geolatte/jts integration. 2015-04-24 05:55:53 -05:00
Karel Maesen 0d5dfa64cd HHH-6509 - Duplicates integration test to check both for JTS and Geolatte
compatibility.
2015-04-24 05:55:53 -05:00
Karel Maesen 8475bfed87 HHH-6509 - Updates to new TypeContributor interface. 2015-04-24 05:55:53 -05:00
Karel Maesen c9f27779dd HHH-6511 - Uses Geolatte-Geom WKB encoder/decoder for Postgis dialect.
HHH-7126 - Uses Geolatte-Geom WKB encoder/decoder for GeoDB dialect.
2015-04-24 05:55:53 -05:00
Karel Maesen 24e7762a3a Updates names to reflect switch from JTS to Geolatte. 2015-04-24 05:55:53 -05:00
Karel Maesen cf03fe2592 HHH-6513 - Sqlserver encoder/decoders now use Geolatte-geom.
Bumps geolatte version to 0.12-SNAPSHOT
2015-04-24 05:55:53 -05:00
Karel Maesen b4b626c398 HHH-6511 - Geolatte WKT decoder replaces custom EWKT parser. 2015-04-24 05:55:53 -05:00
Karel Maesen 4b7c319cc0 HHH-6509 - Introduces GeolatteGeometryJavaType. 2015-04-24 05:55:53 -05:00
Karel Maesen ea833fcdbb HHH-6509 - Simplifies SqlServer2008 ValueBinder and ValueExtractor
implementations.
2015-04-24 05:55:53 -05:00
Karel Maesen 0e17f9adf8 HHH-6509 - Prepare introduction of Geolatte-geom library as model
Updates testing approach
Refactors ValueBinders and ValueExtractors
2015-04-24 05:55:53 -05:00
Karel Maesen f4fb79aa04 HHH-7126 Adds H2/GeoDB support, incl. integration tests. 2015-04-24 05:55:53 -05:00
Karel Maesen 4bb8d99a8a HHH-6514 Integrated MySQL support.
Adds MySQL spatial dialects (for base engine and InnoDB).
Adds MySQL matrix integration test support.
Refactoring ValueBinder and ValueExtractor for all dialects.
2015-04-24 05:55:52 -05:00
Karel Maesen a4e8d02ead HHH-6513 Fixes SQL Server 2008 integration tests. 2015-04-24 05:55:52 -05:00
Karel Maesen 28cf93f6eb HHH-6512 Adds Oracle10g (SDOGeometry) integration tests. 2015-04-24 05:55:52 -05:00
Karel Maesen c07657685c HHH-6511 Moved custom test matrix configuration into hibernate-spatial
module.
2015-04-24 05:55:52 -05:00
Karel Maesen 619c9ed515 HHH-6971 Migrates logging to JBoss logging. 2015-04-24 05:55:52 -05:00
Karel Maesen ee96098ead HHH-6509 Removes obsolete code
This removes the HBSpatial static bootstrap class and the old SPI
mechanism. Both had become obsolete because of how spatial now
integrates with core.

Also reorganizes the packages to have all JTS extensions and utilities
in a jts package.
2015-04-24 05:55:52 -05:00
Karel Maesen 50a648ed32 HHH-6511 Refactors spatial integration tests.
Spatial integration tests are now more in line with the Hibernate Core
integration tests.
2015-04-24 05:55:52 -05:00
Karel Maesen f114ca2944 HHH-6511 Adds Postgis integration tests.
The integration tests now make us of the matrix testing set-up.
2015-04-24 05:55:52 -05:00
Karel Maesen 0c0a5e2af0 HHH-6510 Added SQL Server 2008 support.
Converts SQL Server convertor integration tests to proper unit tests.
2015-04-24 05:55:52 -05:00
Karel Maesen f7f39cb8d2 HHH-6510 Added Oracle SDOGeometry support. 2015-04-24 05:55:52 -05:00
Karel Maesen 79d02e2f9d HHH-6510 Minor cleanups; code formatting changed to Hibernate conventions. 2015-04-24 05:55:52 -05:00
Karel Maesen 812da6e7cd HHH-6510 : Initial commit.
Source code copied from Hibernate Spatial 1.1.1-SNAPSHOT.
Root package is now org.hibernate.spatial (instead of org.hibernatespatial)
GeometryType replaces GeometryUserType.
SpatialDialects remap SpatialSqlTypeDescriptors.
Hibernate Spatial registers GeometryType in Integrator (temporary fix: see HHH-6507).
2015-04-24 05:55:52 -05:00