12226 Commits

Author SHA1 Message Date
Andrea Boriero
8121b5daa3 Re-enabled envers tests 2021-08-23 16:23:38 +02:00
Andrea Boriero
6f052f035e Re-enabled envers tests 2021-08-23 16:23:38 +02:00
Andrea Boriero
6011421fb7 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-23 15:05:28 +02:00
boris-unckel
db3346962a HHH-14764 Testsuite: AssertionErrors must not be caught
Fixes https://hibernate.atlassian.net/browse/HHH-14764
2021-08-23 12:06:59 +02:00
Steve Ebersole
ebb91e44c3 fixes for Antlr tasks 2021-08-22 11:41:22 -05:00
Steve Ebersole
82856070ec discriminator work
- Handle discriminator as Fetch for entity ResultGraphNodes.  This allows us to make the distinction about whether to handle the discriminator as `Class` or as its "underlying" type when selecting it.  Fetches return the underlying type.  DomainResults return `Class`, or String for entity-named entity mappings
2021-08-20 18:48:14 -05:00
Steve Ebersole
6803c09645 fixes for Antlr tasks 2021-08-20 18:27:46 -05:00
Steve Ebersole
524b2982cf discriminator work
- Handle discriminator as Fetch for entity ResultGraphNodes.  This allows us to make the distinction about whether to handle the discriminator as `Class` or as its "underlying" type when selecting it.  Fetches return the underlying type.  DomainResults return `Class`, or String for entity-named entity mappings
2021-08-20 14:26:40 -05:00
Steve Ebersole
fb651ef07d discriminator work
- Handle discriminator as Fetch for entity ResultGraphNodes.  This allows us to make the distinction about whether to handle the discriminator as `Class` or as its "underlying" type when selecting it.  Fetches return the underlying type.  DomainResults return `Class`, or String for entity-named entity mappings
2021-08-20 14:02:26 -05:00
Steve Ebersole
78bd816a85 discriminator work
- Handle discriminator as Fetch for entity ResultGraphNodes.  This allows us to make the distinction about whether to handle the discriminator as `Class` or as its "underlying" type when selecting it.  Fetches return the underlying type.  DomainResults return `Class`, or String for entity-named entity mappings
2021-08-20 13:41:55 -05:00
Steve Ebersole
c0de4c7854 discriminator work
- Handle discriminator as Fetch for entity ResultGraphNodes.  This allows us to make the distinction about whether to handle the discriminator as `Class` or as its "underlying" type when selecting it.  Fetches return the underlying type.  DomainResults return `Class`, or String for entity-named entity mappings
2021-08-20 13:41:55 -05:00
Steve Ebersole
83ac9d5d3d xjc task config 2021-08-20 13:41:55 -05:00
Steve Ebersole
a532445e35 test migration 2021-08-20 13:41:54 -05:00
Sanne Grinovero
6e6b6eb0ae HHH-14788 Upgrade to Byteman 4.0.16 2021-08-20 11:45:30 +01:00
Andrea Boriero
bbc9e6af20 Re-enabled additional tests 2021-08-18 11:37:49 +02:00
Andrea Boriero
75ff2500c7 Re-enabled additional tests 2021-08-18 11:37:49 +02:00
Andrea Boriero
d46db44082 Re-enabled additional tests 2021-08-18 11:37:49 +02:00
Andrea Boriero
746aeb5c95 Re-enabled additional tests 2021-08-18 11:37:49 +02:00
Andrea Boriero
9710bfcf39 Fix load toOne association not referencing a PK with FetchMode.SELECT 2021-08-18 11:37:49 +02:00
Andrea Boriero
5160c8ac6a Fix throw EntityNotFoundException when an association not mapped with @NotFound(IGNORE) is null 2021-08-18 11:37:49 +02:00
Christian Beikov
1ba3595292 HHH-14777 Enabled skip locked rendering for MariaDB 10.6+ 2021-08-17 10:38:27 +02:00
Christian Beikov
dffe592cde HHH-14777 Enabled skip locked rendering for MariaDB 10.6+ 2021-08-17 10:38:18 +02:00
The Geeky Asian
971d0f1fc5 HHH-13848 - Fix for potential NullPointerException
The callers of the convert() method in ResourceRegistryStandardImpl expect an exception which is then thrown. This me produce NullPointerException, which has been fixed in this commit.
2021-08-16 22:47:43 +02:00
Christian Beikov
e0c77e82ad Properly calculate binary digit numbers for float based on decimal digit numbers 2021-08-16 17:36:50 +02:00
Christian Beikov
e415d1bde6 Move annotations.manytoone tests and fix table reference resolving issues 2021-08-16 17:36:50 +02:00
Christian Beikov
76f424fcff Move annotation.manytomany tests and fix filter rendering as well as collection owner initialization and fetching of non-PK to-one attributes 2021-08-16 17:36:50 +02:00
Christian Beikov
b326b303d3 Add a millisecond sleep to ensure generated timestamp annotation tests work 2021-08-16 17:36:50 +02:00
Christian Beikov
58078aee66 Move annotations.lob tests 2021-08-16 17:36:50 +02:00
Christian Beikov
1544493edc Wire up custom collection types 2021-08-16 17:36:50 +02:00
Andrea Boriero
ffff90757a Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-16 16:21:26 +02:00
Andrea Boriero
8174f8ab9d Re-enabled additional tests 2021-08-16 16:03:30 +02:00
Andrea Boriero
7e4275c46e Loading circula bidirectional fetch associations not referring to PK 2021-08-16 16:03:30 +02:00
Andrea Boriero
053153847b Initialize collection with key not referring to PK 2021-08-16 16:03:30 +02:00
Yoann Rodière
544dbbf762 HHH-14770 Revert "HHH-14770 Optimise access to EntityPersister in Metamodel via Class type"
This reverts commit 9a335c1c04dca581caedb1e0b55c6ecf34d33433.
2021-08-12 11:57:00 +02:00
Andrea Boriero
ad61c8f1d4 Fix errors after upstream/main merge 2021-08-11 09:23:43 +02:00
Andrea Boriero
52b83829f1 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-11 09:22:57 +02:00
boris-unckel
e1b82b005c HHH-14762 Testsuite: Assert.notNull must not be used on primitive types
Fix https://hibernate.atlassian.net/browse/HHH-14762
2021-08-10 14:08:34 +02:00
Sanne Grinovero
fb0279e3a7 HHH-14625 Avoid performing a ServiceRegistryLookup in JtaTransactionCoordinatorImpl constructor 2021-08-09 17:28:37 +01:00
Andrea Boriero
fb62f9611a Fix issue with query alias case sensitive and JPAQL strict compliance 2021-08-09 17:55:16 +02:00
Sanne Grinovero
135361a6b8 HHH-14776 Optimise Loader operations by using the Persister directly 2021-08-09 15:55:46 +01:00
Sanne Grinovero
edcce3e1c2 HHH-14776 Promote method instantiate(EntityPersister, Serializable) from SessionImplementor to SharedSessionContractImplementor 2021-08-09 15:55:46 +01:00
Sanne Grinovero
9a335c1c04 HHH-14770 Optimise access to EntityPersister in Metamodel via Class type 2021-08-09 12:55:05 +01:00
Andrea Boriero
d4c296b732 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-09 12:48:00 +02:00
Sanne Grinovero
2390416318 HHH-14773 JdbcCoordinatorImpl micro improvement: unguarded tracev parameters should be constant 2021-08-09 10:58:18 +01:00
boris-unckel
c9b8776d3a HHH-14760 Close resource - potential resource leak
Fixes https://hibernate.atlassian.net/browse/HHH-14760
2021-08-09 10:40:27 +01:00
boris-unckel
3be25aa899 HHH-14760 Close resource - potential resource leak
Fixes https://hibernate.atlassian.net/browse/HHH-14760
2021-08-09 10:28:06 +01:00
Christian Beikov
2f166c31df Fix some documentation tests and respect filters in Session.find as per HHH-14772, and respect explicit polymorphism 2021-08-09 07:22:57 +02:00
Christian Beikov
b6683d2352 Fix some more result set mapping issues and fix HHH-7525 as well as HHH-10504 2021-08-06 23:15:50 +02:00
Christian Beikov
dd650705d0 Add some delay between save an update of update-timestamp tests 2021-08-06 23:15:50 +02:00
Christian Beikov
62514e9e53 Fix resolving parameter type if other side is a subquery returning a collection part 2021-08-06 23:15:50 +02:00