Christian Beikov
7aaeebe3af
Switch back to bag by default for list semantics
2022-03-02 17:02:53 +01:00
Christian Beikov
8e6fb5636b
Adapt EmbeddableInstantiator and CompositeUserType to accept a ValueAccess instead of a Supplier
2022-02-25 19:15:38 +01:00
Christian Beikov
c520b48487
Implement support for CompositeUserType and re-enable tests that make use of it
2022-02-25 15:36:16 +01:00
Christian Beikov
dc6ad33cfc
HHH-10463 Implement function argument type inference
2022-02-15 09:04:50 +01:00
Christian Beikov
260c738a5a
Get rid of some `getEntityMetamodel` uses
2022-02-15 09:03:55 +01:00
Christian Beikov
f52cf04a16
Introduce QueryTransformer for functions
2022-02-09 18:31:14 +01:00
Gavin King
a25758f519
don't write @SuppressWarnings({ "unchecked" })
2022-02-05 20:03:50 +01:00
Jan Schatteman
d2b740ce5b
Jrenaat 6.0 deprecation removals ( #4718 )
...
* Removed deprecated org.hibernate.boot.jaxb.internal.stax.LocalSchema
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove some deprecations from org.hibernate.engine.jdbc
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated misspelled method in PostActionEventListener
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated getSource() from AbstractPreDatabaseOperationEvent
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Privatize deprecated buildOptimizer method in OptimizerFactory
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated ServiceContributingIntegrator
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove some more deprecated features
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-31 19:14:48 +01:00
Christian Beikov
0ad5796ffd
Implement SQM copying for JPA Criteria API uses
2022-01-31 19:04:37 +01:00
Gavin King
09299e1f41
get rid of the last iterators in the mapping package
2022-01-26 22:53:44 +01:00
Steve Ebersole
7b00d3ce78
Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel`
2022-01-25 20:22:29 -06:00
Gavin King
e51c210d78
squash lots of warnings in services
...
change the raw Map representation of config properties to Map<String,Object>
2022-01-25 21:04:50 +01:00
Gavin King
973c052c8c
move since from @deprecated to @Deprecated
2022-01-24 21:55:31 +01:00
Jan Schatteman
dc2e86d5c1
Remove several deprecations in org.hibernate.boot
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-24 08:42:33 -06:00
Gavin King
9724fb0d9b
actually remove deprecated operations of SessionFactoryImplementor and SessionImplementor
2022-01-23 12:52:18 +01:00
Gavin King
3f073ae551
get rid of a class that was "being phased out"
...
and use some more correct generic types
2022-01-22 23:52:25 +01:00
Steve Ebersole
2b5a5fc196
api, spi, internal, deprecation
...
org.hibernate.query package
2022-01-21 13:27:11 -06:00
Steve Ebersole
6cbfb30ea4
api, spi, internal, deprecation
2022-01-20 11:29:57 -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
Christian Beikov
0fb19fd4fb
Get rid of column names that are problematic on H2 2.0.202+
2022-01-18 15:18:01 +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
Steve Ebersole
448d678fb5
Drop `@CollectionClassificationType`;
...
Drop `@CollectionSemantics`;
Drop `@CollectionSemanticsRegistration(s)`;
Add `@CollectionTypeRegistration(s)`;
Rename `@CustomType` to `@Type`;
User Guide and Migration Guide changes
2022-01-06 21:46:48 -06:00
Gavin King
cc91beb536
typecheck HQL function arguments
2022-01-06 18:10:00 +01:00
Steve Ebersole
773f3429c6
hibernate.mapping.default_list_semantics (`AvailableSettings#DEFAULT_LIST_SEMANTICS`)
...
make LIST the default classification for List attributes with no `@OrderColumn`, etc.
2022-01-06 08:53:00 -06:00
Steve Ebersole
a71ba9e385
Initial work to re-organize the Collections chapter in the UserGuide;
...
Docs for @CollectionType, @CollectionClassificationType and @CollectionSemantics;
Some api/spi/internal work;
Migration Guide;
2022-01-05 16:26:58 -06:00
Andrea Boriero
67f73f20ef
Remove few NotYetImplementedFor6Exception
2021-12-23 21:33:01 +01:00
Christian Beikov
1184a5963b
Re-add AvailableSettings.JPA_METAMODEL_GENERATION and re-enable metamodel tests
2021-12-23 10:01:07 +01:00
Christian Beikov
360fec82f1
Reset connection pool after changing system TZ. Don't use distinct predicate when comparing primary keys in envers
2021-12-21 18:46:46 +01:00
Chris Cranford
99c13e5965
HHH-11595 Introduce `CollectionAuditTable` support
2021-12-18 22:53:42 -05:00
Chris Cranford
d9fa35c6f1
HHH-13361 Cleanup test
2021-12-18 20:46:10 -05:00
Chris Cranford
aa5bdab6ec
HHH-13361 Refactor mappers
2021-12-18 20:46:10 -05:00
Chris Cranford
b5755b6945
HHH-13361 Allow auditing entities with nested identifiers
2021-12-18 20:46:10 -05:00
Christian Beikov
fb30206387
Add emulation for simple lateral joins and make use of lateral joins for min/max index/element paths if possible
2021-12-18 05:12:36 -06:00
Christian Beikov
b75277b421
Split TableReference class into interface and NamedTableReference implementation to allow QueryPartTableReference and ValuesTableReference to fit into the picture
2021-12-18 05:12:36 -06:00
Chris Cranford
98c9cf136c
HHH-14280 Fix test failures
2021-12-17 22:21:33 -05:00
Chris Cranford
c249b019e6
HHH-14280 Reworked test
2021-12-17 22:21:33 -05:00
Rapenok, Ivan
f4994a4cf6
HHH-14280 - audit query does not work when @IdClass composite identifier contains association to a not audited entity
...
Add possible solution
2021-12-17 22:21:33 -05:00
Rapenok, Ivan
0ea49974d0
HHH-14280 - audit query does not work when @IdClass composite identifier contains association to a not audited entity
...
Add test case
2021-12-17 22:21:33 -05:00
Chris Cranford
4e4f2e40b4
HHH-9432 Fix test failures
2021-12-17 18:43:20 -05:00
Chris Cranford
921a958e88
HHH-9432 Fix audit queries when `@Where` applied to discriminator mappings
2021-12-17 18:43:20 -05:00
Chris Cranford
9ace8a9dd3
HHH-13817 Support to-one relation traversals in RevisionsOfEntity queries
2021-12-17 18:31:10 -05:00
Chris Cranford
96e7d4cbb1
HHH-11573 Fix rebase issues
2021-12-17 18:30:09 -05:00
Chris Cranford
d263466dc0
HHH-11573 Moved test class
2021-12-17 18:30:09 -05:00
Chris Cranford
a408fa4597
HHH-11573 - Fix non-deterministic result ordering & test validation.
2021-12-17 18:30:09 -05:00
Chris Cranford
8d7562a314
HHH-11573 - Added todo wrt query context.
2021-12-17 18:30:09 -05:00
Chris Cranford
938b481cd9
HHH-11573 - Test case fixes.
2021-12-17 18:30:09 -05:00
Chris Cranford
6676a9c7bd
HHH-11573 - Fix javadoc typo.
2021-12-17 18:30:09 -05:00