Commit Graph

168 Commits

Author SHA1 Message Date
Karel Maesen 174a9a7005 HHH-15160 - Properly validate the arguments in the distance operators. 2023-04-28 13:50:36 +02:00
Karel Maesen b46bc13813 HHH-15160 - Adds the Postgis distance operators 2023-04-28 13:50:36 +02:00
Christian Beikov 39f4fdda5e HHH-16316 Move version specific dialects of unsupported versions to hibernate-community-dialects 2023-03-17 10:12:34 +01:00
Christian Beikov 8d93c0ca33 HHH-16224 Refactor discovery of exact JDBC drivers, avoid static state in specialized types 2023-03-03 15:13:01 +01:00
Christian Beikov 16ca1a0595 HHH-15443 Allow JdbcType to wrap read and write expressions 2023-01-27 14:26:42 -06:00
Christian Beikov 80b638aeca Introduce getSingleJdbcMapping() and getJdbcMapping(int) to improve JdbcMappingContainer accesses 2023-01-13 09:04:15 +01:00
Marco Belladelli be9358e02f HHH-15785 Fix javadoc errors 2022-12-01 14:51:28 +01:00
Marco Belladelli 3abc8c940a HHH-14982 Fix SQL Errors, add javadoc and extend spatial criteria tests 2022-11-30 10:42:03 +01:00
Marco Belladelli 3b14107c49 HHH-14982 CriteriaBuilder extension mechanism and Spatial implementation 2022-11-30 10:42:03 +01:00
Marco Belladelli f38dd28043 HHH-15760 mass replace self-closing tags in javadoc 2022-11-26 09:49:56 +01:00
Gavin dbc7b2359b extract an oft-repeated expression as a new method of JdbcTypeIndicators
write some Javadoc about types
2022-11-13 00:39:25 +01:00
Jan Schatteman 75f4c95274 HHH-15195 - Moving support for CockroachDB versions older than 21.1 into community dialects
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-06 14:48:04 +02:00
Christian Beikov 95cc3c2135 HHH-15165 Add abstract GIS base types to reduce code duplication 2022-05-04 16:55:15 +02:00
Christian Beikov 51c40cd6a1 HHH-15165 Add support for SQL geography type 2022-05-04 16:55:15 +02:00
Steve Ebersole 741b6b71f1 logging report 2022-03-11 14:45:43 -06:00
Karel Maesen c072ee9cb2 HHH-14932 Using correct WKB version for Postgis 2022-02-07 20:39:35 +01:00
Karel Maesen 610446270e HHH-15047 Ensure spatial functions have non-null return type resolver 2022-01-24 23:51:10 +01:00
Karel Maesen a35669f11b HHH-14805 Fix test class for Sql Server 2022-01-24 20:44:53 +01:00
Karel Maesen 4b7b6135fe HHH-14805 Upgrade SqlServer Spatial to H6 2022-01-24 20:44:53 +01:00
Karel Maesen 3202a56617 HHH-14807 Fix checkstyle errors 2022-01-21 15:23:14 -06:00
Karel Maesen cbf98a1845 HHH-14807 Upgrade SpatialPredicates for Oracle 2022-01-21 15:23:14 -06:00
Karel Maesen d560d81988 HHH-14807 Refactor function contribution 2022-01-21 15:23:14 -06:00
Karel Maesen 355694342d HHH-14807 Upgrade to H6 2022-01-21 15:23:14 -06:00
Christian Beikov 445cedfec7 Cleanup the naming of JavaDescriptor and JavaTypeDescriptor to align with the new naming JavaType 2022-01-20 16:01:02 +01:00
Steve Ebersole 8f5fefd806 HHH-15017 - Clean-up Query#setParameter overloads
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Steve Ebersole b62c23ab29 HHH-15017 - Clean-up Query#setParameter overloads
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Gavin King cc91beb536 typecheck HQL function arguments 2022-01-06 18:10:00 +01:00
Andrea Boriero 67f73f20ef Remove few NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Steve Ebersole 7a6cef5838 Miscellaneous
- Finished DialectVersion
- User Guide tidying
- User Guide section on AttributeBinder
2021-12-09 00:51:40 -06:00
Karel Maesen 8a96c4e7c7 HHH-4925 Minor fixes 2021-11-15 16:17:11 +01:00
Karel Maesen 0300e54fef HHH-14925 Remove deprecated BasicType implementations 2021-11-15 16:17:11 +01:00
Karel Maesen f4909b7046 Downgrade H2 2021-11-15 16:17:11 +01:00
Karel Maesen e48da8d52c HHH-14925 Switch for Postgis to javatype/jdbctype
Also some documentation improvements and dead code removal.
2021-11-15 16:17:11 +01:00
Karel Maesen cf477a61ff HHH-14803 Use MySQLGeometryJdbcType for MariaDB 2021-11-15 16:17:11 +01:00
Karel Maesen 54967d0265 HHH-14804 Various improvements 2021-11-15 16:17:11 +01:00
Karel Maesen 022d2c0a13 HHH-14906 Fix naming inconsistencies
Also fixes some minor checkstyle violations and
removes dead code
2021-11-15 16:17:11 +01:00
Karel Maesen 65aa8f7a5b HHH-14804 Upgrade MySQL8 support 2021-11-15 16:17:11 +01:00
Karel Maesen 2deee38103 HHH-14906 Support for H2GIS
Notice that the tests cannot be run from the gradlew cli due to
compatability issues with the H2 version
2021-11-15 16:17:11 +01:00
Karel Maesen 9f70a6b100 HHH-14804 Upgrade MySQL spatial support (WIP) 2021-11-15 16:17:11 +01:00
Karel Maesen 0636f1de14 HHH-14803 Upgrade MariaDB Spatial support 2021-11-15 16:17:11 +01:00
Christian Beikov a4e406a54e * Add SqlTypes as analogy to java.sql.Types containing constants for Hibernate specified types
* Add FormatMapper for a pluggable JSON serialization and deserialization strategy
* Add native UUID type support for H2, Cockroach, PostgreSQL
* Add native INET type support for Cockroach, PostgreSQL
* Add native JSON type support for MySQL, Cockroach, PostgreSQL
* Add native INTERVAL SECOND type support for H2, Cockroach, PostgreSQL
* Add fallback JdbcTypes for new SqlTypes
* Register column types for new SqlTypes
* Add support for BasicTypeReference in TypedParameterValue
* Fix a lot of method signatures with respect to type parameter issues
* Fix CustomType, UserType and EnhancedUserType with respect to type parameters
* Get rid of StringRepresentableType and some other unused deprecated methods
2021-10-19 16:33:36 +02:00
Steve Ebersole 686d8fcbf1 HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:13:13 -05:00
Steve Ebersole 3a0065eea4 HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:11:32 -05:00
Christian Beikov 597f4bdf6a Get rid of JdbcTypeDescriptor remapping 2021-10-11 16:11:46 +02:00
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
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