Christian Beikov
fec4fb7a85
Fix connection leak through connection validation code
2021-12-22 14:45:53 +01:00
Christian Beikov
779cbef20c
Fix tests for HANA
2021-12-22 14:45:53 +01:00
Sanne Grinovero
dd0e65c698
Upgrading the DB2 JDBC driver JCC to 11.5.7.0
2021-12-22 11:28:57 +00:00
Sanne Grinovero
a27694c952
Upgrade to DB2 container image ibmcom/db2:11.5.7.0
2021-12-22 11:28:57 +00:00
Christian Beikov
29bfb799aa
Fix some test issues with HANA and emulate derived table column naming on HANA
2021-12-21 18:59:08 +01:00
Christian Beikov
39484b160d
Cleanup support for virtual embeddable model parts and reuse existing compatible joins for implicit joins
2021-12-21 18:59:08 +01:00
Christian Beikov
d5d350e5e7
HHH-11433 Allow usage of KEY expression in a join
2021-12-21 18:59:08 +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
Andrea Boriero
dcd4479cf1
Fix instantiation of composite property ref
2021-12-21 13:00:02 +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
Steve Ebersole
c5f719ef39
clean up javadoc
2021-12-18 19:14:07 -06:00
Steve Ebersole
f0e7b2160b
6.0 Final tasks - general test_legacy dir clean-up
...
Drop test that where either copied over or had corresponding tests
- leaves just the "bulkid" tests
2021-12-18 18:43:25 -06:00
Steve Ebersole
f9fa2e6e53
6.0 Final tasks - general test_legacy dir clean-up
...
At this point, everything left in test_legacy is something I think we want to account for in the test suite (move it, etc)
2021-12-18 12:37:28 -06:00
Steve Ebersole
8f9d200936
6.0 Final tasks - analyze legacy Criteria tests
...
See if anything makes sense as additions to SqmNodeBuilder (as JPA CriteriaBuilder extension); make list; delete
The only one I considered was support for the legacy `Restrictions#naturalId`
2021-12-18 12:18:02 -06:00
Steve Ebersole
8cc9a064ec
Post-steps for release : `6.0.0.Beta3`
2021-12-18 11:33:01 -06:00
Steve Ebersole
4925f8dfd8
Pre-steps for release : `6.0.0.Beta3`
2021-12-18 07:44:37 -06:00
Steve Ebersole
7c604d7c3b
HHH-14977 - @Where is broken in 6.0
...
Fix up bad rebase of https://github.com/hibernate/hibernate-orm/pull/4465 (Make TableReference an interface with various sub-classes) on top of this work
2021-12-18 07:43:32 -06:00
Steve Ebersole
fe5a7466cf
slightly expand the documentation for Boolean - minor fix-ups
2021-12-18 07:22:13 -06:00
Gavin King
7a81ec78ff
slightly expand the documentation for Boolean
2021-12-18 07:22:13 -06:00
Gavin King
863802cfd0
proposed API for instantiation of detached collections + proxies
...
this is useful for object-graph deserialization
2021-12-18 05:22:24 -06:00
Sanne Grinovero
6fbb90aa54
HHH-14987 Upgrade to Log4j 2.17.0
2021-12-18 05:15:12 -06:00
Sanne Grinovero
ab0f1d40af
HHH-14988 Upgrade to ByteBuddy 1.12.5
2021-12-18 05:15:12 -06:00
Christian Beikov
d1a732fcf1
Tryout a deterministic test class order
2021-12-18 05:12:36 -06: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
ab954925e4
Simplify TableJoin to only allow the distinction between inner and left joins
2021-12-18 05:12:36 -06:00
Christian Beikov
1988ffa310
Support lateral joins by introducing a lateral flag in TableGroupJoin and add a FunctionTableReference for table valued functions
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
Gavin King
70114d30ec
treat integral types as equivalent for purposes of schema validation/update
2021-12-18 05:08:26 -06:00
Gavin King
a2272be61c
documentation surrounding @Lob and Length
2021-12-18 05:05:55 -06:00
Andrea Boriero
d6bdca77f2
Fix Stack Overflow caused by EntitySelectFetchByUniqueKeyInitializer
2021-12-18 04:45:48 -06:00
Fabio Massimo Ercoli
ecd9d2a193
Test eager cycles derived by 1to1 owner by contained
2021-12-18 04:45:48 -06:00
Steve Ebersole
275f6325d3
HHH-14986 - drop build_command
2021-12-18 04:36:25 -06:00
Chris Cranford
9be679bfee
HHH-14986 Introduce custom build_command
2021-12-18 04:35:08 -06:00
Chris Cranford
5e5e783b98
HHH-14986 Use JDK11 with LGTM check
2021-12-18 04:35:08 -06:00
Steve Ebersole
335a4d62e3
HHH-14977 - @Where is broken in 6.0
...
`@Where` and `@Filter` fragments are now fully handled as AST - each fragment gets its own Predicate instance.
Some more work coming to clean up methods we no longer use which require the old String-manip approach.
2021-12-18 04:26:49 -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
Steve Ebersole
4c758b2d48
HHH-14977 - @Where is broken in 6.0
...
`@Where` and `@Filter` fragments are now fully handled as AST - each fragment gets its own Predicate instance.
Some more work coming to clean up methods we no longer use which require the old String-manip approach.
2021-12-17 19:09:09 -06:00
Steve Ebersole
1c5ec0612c
HHH-14977 - @Where is broken in 6.0
...
`@Where` and `@Filter` fragments are now fully handled as AST - each fragment gets its own Predicate instance.
Some more work coming to clean up methods we no longer use which require the old String-manip approach.
2021-12-17 19:07:46 -06: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