Commit Graph

181 Commits

Author SHA1 Message Date
Christian Beikov 710ebe57b0 Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved 2021-10-07 08:15:53 +02:00
Christian Beikov 1cb6ff8916 Cleanup naming of JavaTypeDescriptor and JdbcTypeDescriptor implementations. Get rid of PrimitiveType, IdentifierType, DiscriminatorType and AllowableTemporalParameterType 2021-10-07 08:15:53 +02:00
Christian Beikov 81e66fa970 Get rid of LiteralType 2021-10-07 08:15:53 +02:00
Christian Beikov 9e83129fc3 Change JavaTypeDescriptor#fromString to accept a CharSequence instead of String and introduce CharSequence utilities to avoid creating intermediate strings 2021-10-05 15:18:38 +02:00
Christian Beikov c5baae7e11 Improve SQL rendering performance by avoiding intermediate String objects 2021-10-05 15:18:38 +02:00
Christian Beikov d8b984ed7f Fix some column type definitions in dialects regarding their maximum capacities. Allow the dialect to resolve the length based on type code, type name, precision, scale and display size. Fix some dialect related issues with tests. Fix untyped null parameter binding issues 2021-09-30 13:52:31 +02:00
Steve Ebersole 439f4fb208 HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 02:09:58 -05:00
Steve Ebersole 998caa56af HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 01:31:47 -05:00
Steve Ebersole 089a3f86ae HHH-14837 - Move to Jakarta EE
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Karel Maesen 44babcb880 HHH-14738 Remove redundant function contribution 2021-09-21 11:55:41 +02:00
Karel Maesen b88596df6a HHH-14808 SpatialPredicates use value() method for literal expressions 2021-09-21 11:55:41 +02:00
Karel Maesen 9de428ac1a HHH-14800 Remove redundant doBindNull() overrides 2021-09-21 11:55:41 +02:00
Karel Maesen 3995c644d1 HHH-14800 Implements suggestions from code review
- set version in deprecated Postgis dialects
- fast path for Contributor resolution
- add TODO label for Ignored tests
2021-09-21 11:55:41 +02:00
Karel Maesen cf854c5cfc Fix checkstyle errors 2021-09-21 11:55:41 +02:00
Karel Maesen 5bae2d8196 HHH-14808 Basic SpatialPredicates 2021-09-21 11:55:41 +02:00
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