Commit Graph

224 Commits

Author SHA1 Message Date
Christian Beikov 7b6df34519 HHH-15428 Fix handling of converters by moving them to JdbcMapping 2022-08-03 14:38:46 +02:00
Christian Beikov c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +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
Karel Maesen 93f1c0401d HHH-15245 fix test regression 2022-05-04 16:28:05 +02:00
Steve Ebersole 69e57404c6 HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -05: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
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Steve Ebersole 7b00d3ce78 Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel` 2022-01-25 20:22:29 -06: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 9fe3c861ca HHH-15023 - Move Query and NativeQuery back to org.hibernate.query 2022-01-14 14:49:17 -06:00
Steve Ebersole fda6e96c5e HHH-15023 - Move Query and NativeQuery back to org.hibernate 2022-01-11 21:01:56 -06: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 aded53a760 HHH-14808 Fix PredicateSmokeTest
Refactors SpatialTestBase to use a SessionFactoryAware
implementation that performs necessary initialisations
(e.g. H2).
2021-11-22 14:52:24 -06:00
Karel Maesen 8a96c4e7c7 HHH-4925 Minor fixes 2021-11-15 16:17:11 +01:00
Karel Maesen 5a7ad6d11c HHH-14925 Add additional unit tests. 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
Christian Beikov 9fa2671cbc Update to Gradle 7.2 2021-10-19 11:07:39 +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
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