Commit Graph

12417 Commits

Author SHA1 Message Date
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
Andrea Boriero d43b9940b9 Add hql execution to Statistics 2021-09-25 11:52:03 +02:00
Andrea Boriero e62b3710a8 Improved JdbcSelectExecutorStandardImpl#resolveJdbcValuesSource() method 2021-09-25 11:52:03 +02:00
Andrea Boriero 4a0351b157 Improved JdbcSelectExecutorStandardImpl#getResultSize() method 2021-09-25 11:52:03 +02:00
Andrea Boriero 573d146046 Removed Dialect#areStringComparisonsCaseInsensitive() method 2021-09-25 11:52:03 +02:00
Andrea Boriero ca83c6ca7e HHH-13140 Criteria API multiselect aliases are not passed through to the JPQL query and they are not available in ResultTransformer 2021-09-25 11:52:03 +02:00
Andrea Boriero 6cb13ddf0c Fix join type for TableGroupJoin created from the Select clause 2021-09-25 11:52:03 +02:00
Andrea Boriero 504dd2c6b4 Fix AliasToMap converter for JPA Criteria 2021-09-25 11:52:02 +02:00
Andrea Boriero fcfb2074f2 Fix TupleElement#getAlias() returning null 2021-09-25 11:52:02 +02:00
Andrea Boriero 9d131ce69f Minor code cleaning 2021-09-25 11:52:02 +02:00
Andrea Boriero b2aca3c846 Implemented QueryKey.ParameterBindingsMemento NO_PARAMETER_BINDING_MEMENTO 2021-09-25 11:52:02 +02:00
Andrea Boriero ac1123be05 Fix NPE with cache key 2021-09-25 11:52:02 +02:00
Andrea Boriero 16f4a10908 Add hql query execution to Statistics 2021-09-25 11:52:02 +02:00
Andrea Boriero 19802edec1 Re-enabled additional tests 2021-09-25 11:52:02 +02:00
Andrea Boriero 70c09dfb54 Fix test failure after merge 2021-09-24 13:17:25 +02:00
Andrea Boriero 0b9a470685 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-24 12:50:56 +02:00
Gail Badner c6e3bf2ef8 HHH-14835 : More changes to support SchemaMigrator/SchemaValidator using Hibernate Reactive
Add jira key to test case
2021-09-24 11:17:17 +01:00
Andrea Boriero 8cecdd3f43 HHH-14835 : Fix Sybase Connection#getSchema() throws an exception
(cherry picked from commit aaba4767fe)
2021-09-24 11:17:17 +01:00
Gail Badner dec331362c HHH-14835 : More changes to support SchemaMigrator/SchemaValidator using Hibernate Reactive
Changes required for sequences to be created with a default catalog
2021-09-24 11:17:17 +01:00
Christian Beikov 340c1b3f61 HHH-11042 Implement tuple distinct count emulation 2021-09-23 18:04:02 +02:00
Christian Beikov 3ecc602852 Implement tuple count emulation 2021-09-23 18:04:02 +02:00
Christian Beikov aa7b5529e9 Fix determining table groups for fetches and reuse joins for parsed paths. Fix determining correct table group for SqmFrom usages. Fix indexed access for plural paths 2021-09-23 18:04:02 +02:00
Christian Beikov 07f6d31d2b Fix missing table reference issues by translating all SqmRoots and SqmJoins to proper path interpretations 2021-09-23 18:04:02 +02:00
Christian Beikov e8d337828b Fix bidirectional fetching issues 2021-09-23 18:04:02 +02:00
Christian Beikov 905227d2ed Get rid of unnecessary sql tokens for joins and improve join counting for tests 2021-09-23 18:04:02 +02:00
Christian Beikov 582e7f84aa Implement support for detecting bidirectional attribute name for many-to-one 2021-09-23 18:04:02 +02:00
Christian Beikov 3cf0d9f037 fixup! Move jpa.enhancement, jpa.graphs, jpa.ops, jpa.orphan, jpa.secondarytable, jpa.transaction, jpa.userguide, jpa.version and query.criteria packages 2021-09-23 18:04:02 +02:00
Christian Beikov bc6022459d Fix JPA Criteria parameter inference for case when expressions 2021-09-23 18:04:02 +02:00
Christian Beikov e59f2b9761 Fix too eager collection fetching, wrong fetch timing determination and `entityAlias = :param` usages 2021-09-23 18:04:02 +02:00
Christian Beikov 6096bbdfa1 Move jpa.enhancement, jpa.graphs, jpa.ops, jpa.orphan, jpa.secondarytable, jpa.transaction, jpa.userguide, jpa.version and query.criteria packages 2021-09-23 18:04:02 +02:00
Jan Schatteman 5df67d8b43 Move and adapt tests from sql/storedproc
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-09-23 17:32:41 +02:00
Steve Ebersole bd2f8271bd fix aggregateJavadoc task config 2021-09-23 08:32:46 -05:00
Andrea Boriero 5b24b171da Resolve collection key selection expressions for delayed collection fetches of dynamic fetch builders with the suffixed column alias of the referenced property name 2021-09-21 12:57:47 +02: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 2bdd10389b HHH-14757 Use geolatte's JTSUtils 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