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
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
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
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
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
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
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
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
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
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
Christian Beikov
9d75e6d620
Fix some wrong assignability checks
2021-12-17 18:30:26 +01:00
Andrea Boriero
f765eb4a87
Fix issue with Hibernate proxy
2021-12-17 18:30:26 +01:00
Fabio Massimo Ercoli
d845f4b066
Test load of polymorphic entities
2021-12-17 18:30:26 +01:00
Andrea Boriero
5626b075dc
Fix instantiation of VirtualId
2021-12-17 18:29:53 +01:00
Christian Beikov
c92a475892
Get rid of unnecessary lexer rules
2021-12-17 15:40:08 +01:00
Andrea Boriero
017d1a2dcd
Reenable additional tests
2021-12-17 09:06:09 +01:00
Christian Beikov
b75c2117b2
Fix resolving table references for discriminator path
2021-12-17 08:23:53 +01:00
Gavin King
bc65526c77
clean up the Dialect-specific default property handling
2021-12-16 15:58:47 +01:00
Fabio Massimo Ercoli
28b8b33b88
Support multiload by single natural id
2021-12-15 10:52:43 -06:00
Fabio Massimo Ercoli
2814c05399
Test multiload on single event
2021-12-15 10:52:43 -06:00
Fabio Massimo Ercoli
647c2a923c
Use single loader to load single instance on multiloading
2021-12-15 10:52:43 -06:00
Fabio Massimo Ercoli
cef98f67a9
Test multiloading on partial cached entities
2021-12-15 10:52:43 -06:00
Steve Ebersole
579b3f0dcb
HHH-14977 - @Where is broken in 6.0
...
Next iteration where `@Where` fragments generate AST one or more `WhereFilterPredicate` instances.
At the moment, `@Filter` fragments are collected together using the existing String-manipulation style and still collected into a single `FilterPredicate`. Next step is to make that more AST-centric and hopefully get rid of the String-manip-based methods
2021-12-15 10:49:49 -06:00
Andrea Boriero
a4b574e826
@FailureExpected annotation added to tests in orm 6 substituted with @NotImplementedYet
2021-12-15 09:56:07 +01:00
Gavin King
bd9276d6d7
clean up version stuff in DB2i/z dialects
2021-12-15 08:56:50 +01:00
Gavin King
e992b41756
clean up constructor model in Dialects
...
and fix strange model of versions on Maria/TiDB
2021-12-14 22:54:27 +01:00
Gavin King
e2be0960fd
let's not use LONGVARCHAR to mean two different things
2021-12-14 22:54:27 +01:00
Gavin King
eb3bcdb94a
reworked approach to Dialect column type customization
2021-12-14 22:54:27 +01:00
Steve Ebersole
103e5c658b
HHH-14977 - @Where is broken in 6.0
...
simple fix hooking in to the existing String based building. working on a version that
uses the AST
2021-12-14 15:36:12 -06:00
Andrea Boriero
d89b28e1a9
Re-enabled additional tests
2021-12-14 13:36:24 +01:00
Andrea Boriero
6ebceedf48
Fix Query#getParameters() returning an empty Set when the query has no parameters
2021-12-14 13:36:24 +01:00
Andrea Boriero
ba558503a8
Fix thowing IllegalArgumentException when accessing procedure not registered parameters
2021-12-14 13:36:24 +01:00