Commit Graph

220 Commits

Author SHA1 Message Date
Gavin King 694eee977f
Query parser exceptions (#6782)
* clean up exception reporting in query translator

especially, introduce SyntaxException, since SemanticException and
ParsingException were both being misused to report syntax errors
2023-06-13 19:53:19 +02:00
Karel Maesen 6f18947249 HHH-15160 - Fix unit test 2023-04-28 13:50:36 +02:00
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
Andrea Boriero 570ccae476 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:43:13 -05: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
Steve Ebersole 2936e5bd75 HHH-16260 - JdbcParameterRenderer not called with dynamic filters
HHH-16256 - JdbcParameterRenderer to have an impact on write operations
HHH-16273 - Support for Dialect native JdbcParameterRenderer
2023-03-09 19:51:33 -06: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
Sanne Grinovero 56cd6a2ca0 HHH-16214 Use a more efficient Map implementation in SqmFunctionRegistry 2023-02-21 18:39:58 +00: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
Gavin 7444b26db4 HHH-15948 move org.hibernate.metamodel.model.convert to org.hibernate.type.descriptor.converter 2023-01-11 17:56:54 +01:00
Steve Ebersole cc0d6eaca7 HHH-15798 - Remove NotYetImplementedFor6Exceptions and all uses 2022-12-22 12:27:03 -06:00
Christian Beikov bc36eb3eeb HHH-15327 Support mapping aggregate embeddables as struct/json 2022-12-14 19:02:43 +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
Karel Maesen 43f9cd6694 HHH-15669 Remove @SkipForDialect Oracle 21 2022-11-22 21:51:22 +01:00
Karel Maesen 6658c6235f HHH-15669 Fix test failures when using Oracle 21
Rings in Oracle polygons may be shifted depending on how it
is processed. The equality test now takes this into account.

Add test to investigate st_within test failure.
2022-11-22 21:51:22 +01:00
Christian Beikov 4914d14a43 HHH-15626 Move old databases to nightly pipeline and add some SQL Server 2022 features 2022-11-18 11:06:39 +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
Christian Beikov 940f15b63e HHH-15528 Add Cockroach to Jenkins nightly test matrix and fix issues 2022-10-21 09:51:16 +02:00
Christian Beikov bfd1f22157 HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version 2022-09-21 13:48:06 +02: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 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 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 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