Commit Graph

12443 Commits

Author SHA1 Message Date
Christian Beikov 08b0a705e6 Remove `@NotImplementedYet` from some tests and fix some other tests 2021-09-30 13:52:31 +02:00
Christian Beikov f1680fabcd Fixes for the move of jpa.test.query to orm.test
* Allow JdbcTypeDescriptor to resolve JavaTypeDescriptor also based on precision/scale to support resolving VARCHAR(1) to Character
* Implement support for rendering comments and hints for DML statements.
* Implement support for tuple transformer
* Apply type inference on SQM parameters and put coercion behind `isLoadByIdComplianceEnabled` consistently
* Implement native query result type validation
* Fix some temporal type related resolving issues
* Fix parameter validation issue
* Apply delayed fetch builders for implicit basic attributes for result set mappings
* Use resolved JdbcTypeDescriptor and column length/scale to resolve recommended JdbcTypeDescriptor
* Fix type resolving for composite path sources
* Make ManagedDomainType implement AllowableParameterType
* Make DiscriminatorSqmPathSource implement AllowableParameterType
* Fix some id-class related path source issues
2021-09-30 13:52:31 +02:00
Christian Beikov d4ecfbc1b8 Move jpa.test.query to orm.test 2021-09-30 13:52:31 +02:00
Andrea Boriero 33a2c88279 Re-enabled additional tests 2021-09-29 10:41:24 +02:00
Steve Ebersole aa514f7cfc fix to aggregateJavadoc task 2021-09-29 02:16:35 -05:00
Steve Ebersole 120019b343 HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 02:11:49 -05: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 ee72128388 HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 01:56: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 c68322df99 HHH-14846 - Drop JMX integration 2021-09-29 01:09:50 -05:00
Steve Ebersole 8a8a92ca5e HHH-14844 - Drop JACC integration 2021-09-29 01:08:07 -05:00
Steve Ebersole 986d65a288 HHH-14837 - Move to Jakarta EE
More settings work
2021-09-28 19:01:28 -05:00
Andrea Boriero 05b2ca3b83 Rename AvailbaleSetting JAKARTA_DIALECT_DB_VERSION to JAKARTA_HBM2DDL_DB_VERSION and fix its values 2021-09-28 08:40:45 -05:00
Andrea Boriero 60b3d4ec8f Add `ASE` to Sybase database names recognition 2021-09-28 08:40:45 -05:00
Steve Ebersole 828b96522c HHH-14837 - Move to Jakarta EE
fix references to JPA as Jakarta Persistence
2021-09-27 15:13:33 -05:00
Steve Ebersole 84629e314d HHH-14837 - Move to Jakarta EE
fix-ups from the latest rebase (Bean Validation integration);
still looking into the incompatible class changes problem
2021-09-27 10:02:20 -05:00
Steve Ebersole f07a36b78f HHH-14837 - Move to Jakarta EE
fix-ups from the latest rebase
2021-09-27 08:35:26 -05:00
Steve Ebersole 7bc1d55cdd improved aggregated javadoc generation 2021-09-27 08:21:36 -05:00
Steve Ebersole e422d913db HHH-14837 - Move to Jakarta EE
improved support for schema tooling settings
2021-09-27 08:21:36 -05:00
Steve Ebersole 679a919203 HHH-14837 - Move to Jakarta EE
improved support for schema tooling settings
2021-09-27 08:21:36 -05:00
Steve Ebersole 3f2d48d7f5 HHH-14837 - Move to Jakarta EE
migration guide
2021-09-27 08:21:36 -05:00
Steve Ebersole f7921f536e HHH-14837 - Move to Jakarta EE
tests for Jakarta JPA XSDs
2021-09-27 08:21:36 -05:00
Steve Ebersole a9387033b2 HHH-14837 - Move to Jakarta EE
- fixups
2021-09-27 08:21:36 -05:00
Steve Ebersole 47b58f7fa2 HHH-14837 - Move to Jakarta EE
- fix ConcreteLike.java from hibernate-jpamodelgen
2021-09-27 08:21:36 -05:00
Steve Ebersole 995e7d9780 HHH-14837 - Move to Jakarta EE
- fix hibernate-jpamodelgen dependencies
2021-09-27 08:21:36 -05:00
Steve Ebersole 53a274f7db HHH-14837 - Move to Jakarta EE
- prefer `jakarta.persistence.*` settings (*)
- deprecation warnings for `javax.persistence.*` settings (*)

[*] - not all cases yet; need to discuss
2021-09-27 08:21:36 -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
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