13203 Commits

Author SHA1 Message Date
Gavin King
313de3f917 implement Session.fetch() for bytecode-enhanced proxies
had to add a way to easily set collectionsInDefaultFetchGroup
2021-12-27 21:25:11 +01:00
Gavin King
8770db00af add fetch() to StatelessSession 2021-12-27 21:25:11 +01:00
Gavin King
2d10698d94 remove operations that always threw UnsupportedOperationException 2021-12-27 14:14:42 -06:00
Gavin King
a25aa20187 clean up some warnings 2021-12-27 14:14:42 -06:00
Gavin King
9d0ee368ca reword some javadoc 2021-12-27 12:50:48 -06:00
Gavin King
4a8a2ae3cc tests for Session.getReference(Object)
and clean up lots of warnings in ProxyTest
2021-12-27 12:50:48 -06:00
Gavin King
65ce96b776 add Session.getReference(Object)
like in Hibernate Reactive

this is really useful for dealing with detached instances + associations
2021-12-27 12:50:48 -06:00
Dariush Moshiri
0dc94d312e HHH-14682: Enable COMMENT ON H2 2021-12-27 07:31:42 -06:00
Gavin King
f2f2a195cd fixes to Session javadoc, including usage of @see 2021-12-27 07:31:15 -06:00
Gavin King
800af2764d remove reference to obsolete config property 2021-12-27 07:31:15 -06:00
Gavin King
92a000b8e6 misc Javadoc fixes, and added @links 2021-12-27 07:31:15 -06:00
Gavin King
8adc1d8d70 use @code instead of <tt> in Javadoc 2021-12-27 07:31:15 -06:00
Christian Beikov
fb8186d3e8 Cleanup stored procedure handling and add support for stored procedure function return 2021-12-24 01:44:41 +01:00
Christian Beikov
1aefd1977a Rename result.SqlSelectionImpl to ResultSetMappingSqlSelection. Introduce support for resolving the selection type also for normal JdbcValuesMapping. 2021-12-24 01:44:41 +01:00
Andrea Boriero
313bc2666c Remove few NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
67f73f20ef Remove few NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
87c059ac95 Remove DomainResultProducer NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
63c119bf89 Remove ProcedureParameterImplementor NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
5b425f39fd Remove EntityPersister NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
2200a221a7 Remove ModelPart NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
0a41272e16 Remove JdbcMappingContainer NotYetImplementedFor6Except 2021-12-23 21:33:01 +01:00
Andrea Boriero
ee11f9a9ef Remove Bindable NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
c612669bb5 Remove few NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Andrea Boriero
7a3ad20aea Remove few NotYetImplementedFor6Exception 2021-12-23 21:33:01 +01:00
Christian Beikov
aec5ce9d8a Move some more tests and fix H2 tuple comparison issues 2021-12-23 18:51:13 +01:00
Fabio Massimo Ercoli
2f8d22e9e5
Fix test to follow 6.0 behaviour (#4513)
* Fix test to follow 6.0 behaviour
2021-12-23 14:15:43 +01:00
Fabio Massimo Ercoli
91a720772f Set correct key type if !referenceToPrimaryKey 2021-12-23 12:45:36 +01:00
Christian Beikov
3ea5a066ed Add query plan cache statistics for native queries and implement proper caching 2021-12-23 10:01:07 +01:00
Christian Beikov
1184a5963b Re-add AvailableSettings.JPA_METAMODEL_GENERATION and re-enable metamodel tests 2021-12-23 10:01:07 +01:00
Jan Schatteman
195df69019 Fixed and moved MappedSuperclassInheritanceTest to orm.test
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-12-23 08:41:10 +01:00
Christian Beikov
90e551da4b Fix default null ordering for H2 and re-enable test 2021-12-23 08:37:43 +01:00
Andrea Boriero
ef6f190925 Fix collection element order by path resolution 2021-12-22 18:16:04 +01:00
Andrea Boriero
1f42b9badb Log first Exception when MappingModelCreationProcess cannot complete 2021-12-22 17:39:32 +01:00
Sanne Grinovero
da1972ed7b HHH-14999 Upgrade to Hibernate Validator 6.2.1.Final (EE) and 7.0.2.Final (Jakarta) 2021-12-22 16:20:12 +00:00
Sanne Grinovero
31030019d9 HHH-14998 Upgrade to GraalVM 21.3.0 2021-12-22 16:20:12 +00:00
Sanne Grinovero
e42364246d HHH-14997 Upgrade to Agroal 1.14 2021-12-22 16:20:12 +00:00
Sanne Grinovero
cb0f26c6bf HHH-14996 Upgrade to JBoss Logging Processor (and matching Annotations) 2.2.1.Final 2021-12-22 16:20:12 +00:00
Sanne Grinovero
90c0717b37 HHH-14995 Upgrade to Jandex 2.4.1.Final 2021-12-22 16:20:12 +00:00
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