Commit Graph

216 Commits

Author SHA1 Message Date
Karel Maesen f72d6045b1 HHH-14738 Add test cases for functions with parameter arguments
Fix rebase errors
2021-09-21 11:55:41 +02:00
Karel Maesen 60d3914769 HHH-14738 Refactor common test setup to base class 2021-09-21 11:55:41 +02:00
Karel Maesen 331ae9d5c9 HHH-14738 Ignore spatial tests for dialects not supported by Spatial 2021-09-21 11:55:41 +02:00
Karel Maesen 9316c161c7 HHH-14802 Update CockroachDB support for 6 2021-09-21 11:55:41 +02:00
Karel Maesen bc44d65eb3 HHH-14801 Register alternative function names for backwards compatibility 2021-09-21 11:55:41 +02:00
Karel Maesen e185ec8913 HHH-14738 Clean up obsolete test support code 2021-09-21 11:55:41 +02:00
Karel Maesen ba47586634 HHH-14801 Register remaining spatial functions for Postgis
Add more spatial functions
2021-09-21 11:55:41 +02:00
Karel Maesen 24c5099eb7 HHH-14801 Improve registering functions for Postgis 2021-09-21 11:55:41 +02:00
Karel Maesen 35f42528fb HHH-14738 Using DynamicTests to test function/entity combinations 2021-09-21 11:55:41 +02:00
Karel Maesen 9251e8bfdc HHH-14801 Add ServiceRegistry as a parameter to the SqmFunctionDescriptors constructor 2021-09-21 11:55:41 +02:00
Karel Maesen 71b197d362 HHH-14738 Refactor spatial functions integration tests 2021-09-21 11:55:41 +02:00
Karel Maesen f5f0ccfdd3 HHH-14800 Use FunctionContributor interface to register spatial functions 2021-09-21 11:55:41 +02:00
Karel Maesen 0b9de79a7d HHH-14800 Use TypeContributor to register spatial types 2021-09-21 11:55:41 +02:00
Karel Maesen 04491e6775 HHH-14800 Introduce SpatialTypeContributor
See discussion #4111
2021-09-21 11:55:41 +02:00
Karel Maesen dcf2a85d20 HHH-14800 Prepare refactoring hibernate-spatial
In preparation for the design as discussed in #4111:
- Fixex compile errors
- Deprecates the SpatialDialects
- Removes the matrix test configuration (obsolete)
- Removes support for Criteria
2021-09-21 11:55:41 +02:00
Andrea Boriero 6efb29e98e Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-07 09:36:49 +02:00
Karel Maesen 3edad14c18 HHH-14757 Use geolatte's JTSUtils 2021-09-04 12:59:49 +02:00
Christian Beikov dd6efa509b Introduce internal init_sql config and by default enable ansinull for Sybase ASE 2021-09-02 16:54:46 +02:00
Steve Ebersole 476ea9230e re-enable `hibernate-spatial` 2021-08-26 09:44:16 -05:00
Steve Ebersole b26b00a358 Bump matrix testing plugin to 3.1.0 (prep for Gradle 7) 2021-07-14 11:44:35 -05:00
Andrea Boriero 6ca0be6d99 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-22 09:09:30 +02:00
Karel Maesen 7329f444b5 HHH-14654 Fix for schema validation bug 2021-06-21 11:28:58 +02:00
Andrea Boriero 451568f322 Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7 2021-05-31 14:55:18 +02:00
Yoann Rodière 07eca3883d HHH-14635 Upgrade to log4j 2 2021-05-26 09:05:56 +02:00
Andrea Boriero c48606a5aa Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_1 2021-04-20 09:45:47 +02:00
Yoann Rodière d7e85a3c3c HHH-14563 Clarify that hibernate-spatial only needs dom4j for tests
For org.hibernate.spatial.testing.TestDataReader, to be precise.
2021-04-19 15:39:35 +02:00
Andrea Boriero badc99705a Merge remote-tracking branch 'upstream/main' into wip/6.0_merge 2021-04-16 13:19:16 +02:00
Karel Maesen 2aa2bee255
HHH-11490 Fix for UUID mapping conflict
* HHH-11490 Fix for UUID mapping conflict

* HHH-11490 Custom ValueBinder implementation
2021-04-15 20:02:48 +02:00
Andrea Boriero e67d10ee6c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-04-07 09:19:21 +02:00
Karel Maesen e76241a309 HHH-14523 Fix for dirty-checking bug 2021-04-06 20:34:36 +02:00
Steve Ebersole 7fcde66d61 HHH-14524 : Rename SqlType(X) as JdbcType(X) 2021-03-29 11:33:56 -05:00
Andrea Boriero 1114da8b8f Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-24 09:45:58 +01:00
Karel Maesen e9dd160d7f HHH-14090 Add MariaDB103SpatialDialect 2021-03-22 20:23:07 +01:00
Andrea Boriero 96d103215c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-22 12:26:31 +01:00
Karel Maesen 8eb3354ed9 HHH-14037 Add PostgisPG10Dialect 2021-03-17 22:33:01 +01:00
Karel Maesen aba49ced1f HHH-14454 Add SpatialDialect for CockroachDB 2021-03-16 23:25:22 +01:00
Christian Beikov 35643c468a Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-12 15:49:53 +01:00
Karel Maesen 031f12a1ec HHH-14446 Add integration test profiles for mysql and postgis 2021-02-12 15:39:19 +01:00
Karel Maesen 27fbacf7d2 HHH-14453 Fix Hana integration test 2021-02-11 21:39:28 +01:00
Christian Beikov 4931c7e69f Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 12:00:37 +01:00
Karel Maesen 650a703e1c HHH-14442 Fix checkstyle errors 2021-02-06 15:56:55 +01:00
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