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
Chris Cranford
9c8eabcd95
HHH-11896 Fix test failures on Oracle
2021-12-17 00:54:42 -05:00
Chris Cranford
2e8d16efca
HHH-11896 Fix test to be deterministic
2021-12-17 00:54:42 -05:00
Felix Feisst
3e3d227c9a
HHH-11896 Support 'on-clause' criterion when traversing audit query relations
2021-12-17 00:54:42 -05:00
Chris Cranford
e07a8c3bd5
HHH-11895 Fix test to be deterministic
2021-12-17 00:53:19 -05:00
Felix Feisst
d9f3e82291
HHH-11895 Support traversal of components in audit query API
2021-12-17 00:53:19 -05:00
Chris Cranford
25421733d6
HHH-14981 Support null precedence with Envers Query API
2021-12-16 19:53:21 -05:00
Gavin King
bc65526c77
clean up the Dialect-specific default property handling
2021-12-16 15:58:47 +01:00
Chris Cranford
057b9bfc04
HHH-11452 Fix test failures
2021-12-16 01:12:39 -05:00
Felix Feisst
e50037ec8c
HHH-11452 Added possibility to apply the like operator on a function criterion. Added possibility to use the id of an entity as function argument.
2021-12-16 01:12:39 -05:00
Felix Feisst
640bd85975
HHH-11452 Extended audit query API to specify the use of scalar
...
functions.
2021-12-16 01:12:39 -05:00
Felix Feisst
bb09222102
HHH-11735 Support traversal of to-many-associations in audit queries.
2021-12-16 01:10:08 -05:00
Chris Cranford
b384b37f39
HHH-8051 Gracefully handle not-found to-one associations
2021-12-16 01:05:27 -05: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
Sanne Grinovero
c5c24344a4
HHH-14979 Upgrade to Log4J 2 2.16.0
2021-12-15 11:48:35 +00: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
Andrea Boriero
a6ee855d29
Fix thowing IllegalArgumentException when accessing procedure not registered parameters
2021-12-14 13:36:24 +01:00
Andrea Boriero
fa499dff94
Fix issue with ResultSetMapping resolution
2021-12-14 13:36:24 +01:00
Christian Beikov
09d859fd3c
Re-enable all community dialect tests
2021-12-14 13:00:14 +01:00
Christian Beikov
c4e7e2b3fe
Fix support for dropping local temporary tables
2021-12-14 13:00:14 +01:00
Christian Beikov
eecda61ceb
Move more tests and fix subselect support
2021-12-14 13:00:14 +01:00
Ivaylo Mitrev
b9814f5cef
HHH-14948 Adapt contributed patch to 6.0 branch
2021-12-13 21:30:46 +00:00
Gavin King
1172943252
fix broken float type precision conversion
...
it is not the case that ln(10) = log_2(10)
2021-12-13 13:56:17 +01:00
Andrea Boriero
36be5cc3da
Re-enabled additional tests
2021-12-13 13:44:36 +01:00
Steve Ebersole
fcda293c5e
HHH-14975 - Allow use of auto-applied AttributeConverter as native-query result or parameter
2021-12-12 15:47:57 -06:00
Steve Ebersole
38fa2aef75
HHH-13082 - Support specifying an AttributeConverter class as a @ColumnResult#type
2021-12-12 15:14:28 -06:00
Steve Ebersole
bd784b6e90
Misc cleanup related to `MultiLoader` hierarchy
2021-12-12 12:40:34 -06:00
Steve Ebersole
8fef9c4de4
Test for https://hibernate.atlassian.net/browse/HHH-11784
2021-12-11 20:09:03 -06:00
Gavin King
ccc88e9ad4
update the community dialects
2021-12-11 21:27:01 +01:00
Gavin
0ca7a659b0
"long" varchar/varbinary mappings
...
add Length class with useful constant values
well-defined mappings for "long" varchar/varbinary types
make LONGVARCHAR a synonym for VARCHAR with length=LONG32
make LONGVARBINARY a synonym for VARBINARY with length=LONG32
add Dialect.getMaxVarcharLength() + friends
make schema validator ignore the differences between string types
2021-12-11 21:27:01 +01:00
Gavin King
f389952a9d
add ability to run tests locally on mysql
2021-12-10 23:11:16 +01:00
Gavin King
675d176b57
stop trying to clear the public schema on postgres
...
because you don't have permission to do that
2021-12-10 23:11:16 +01:00