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
Gavin King
611b6c0179
don't do things that can fail in static initializers
...
because the failure gets swallowed by a nasty NCDFE
and is impossible to track down
2021-12-10 23:11:16 +01:00
Gavin King
e13cf2e0d1
fix the hibernate.properties so they work on H6
2021-12-10 23:11:16 +01:00
Steve Ebersole
a35ad1905b
HHH-10832 - Remove org.hibernate.property.access.spi.EnhancedGetterMethodImpl
2021-12-10 15:14:39 -06:00
Steve Ebersole
a87157ddb8
fix Derby test failures
2021-12-10 14:42:56 -06:00
Steve Ebersole
64af4885b9
HHH-14950 - Support mapping of embeddables with no setters w/ custom instantiator
...
HHH-14964 - EmbeddableInitializer are called multiple times
2021-12-10 14:39:51 -06:00
Steve Ebersole
1e4f1fef44
HHH-14950 - Support mapping of embeddables with no setters w/ custom instantiator
...
HHH-14964 - EmbeddableInitializer are called multiple times
HHH-14950 works for the most part, but cannot be used "for real" because of HHH-14964
2021-12-10 13:40:06 -06:00
Steve Ebersole
a2a6425b82
fix Oracle test failures
2021-12-10 13:36:53 -06:00
Fabio Massimo Ercoli
c6ed830d82
Cache and expose column size
2021-12-10 10:08:07 -05:00
Sebastian Nohn
dfc92330d8
HHH-14972 bump log4j to 2.15.0 fixing an RCE (CVE-2021-44228)
2021-12-10 08:11:21 -05:00
Andrea Boriero
e08a7665c8
Fix load of entity with Date[] field
2021-12-10 10:21:40 +01:00
Fabio Massimo Ercoli
15121842f1
Test persist of array of dates
2021-12-10 10:21:40 +01:00
nathan.xu
62e55f3c3c
HHH-14970 make use of new Java language features from v8 to v11
2021-12-09 21:26:04 -05:00
Gavin King
0bb647e62b
revert to previous design with raw types
...
there is a problem with this approach: the user now gets unchecked
warnings since we've recently filled in the type args of the params
of some methods of Query and NativeQuery
but it's very hard to see how to fix the problem without breaking
compatibility
2021-12-09 21:25:31 -05:00
Gavin King
a1e3f0cd6f
fix some warnings and clean up some typing issues
...
this is a general cleanup of the Session + Query hierarchies
2021-12-09 21:25:31 -05:00
Fabio Massimo Ercoli
b91944c09a
Support statistics when criteria(s) are executed
2021-12-09 15:04:35 -05:00
Fabio Massimo Ercoli
f05f002c22
Test statistics of criteria(s) executed
2021-12-09 15:04:35 -05:00
Steve Ebersole
e6d4bc6cfa
More documentation work
2021-12-09 13:03:34 -06:00
Steve Ebersole
76c329f919
More work on ``@AttributeBinderType`
2021-12-09 12:54:20 -06:00
Gavin King
b889375eb6
remove left-behind method createSQLQuery() from StatelessSession
2021-12-09 12:59:04 -05:00
Gavin King
6177210395
remove Session.disconnect()/reconnect()
...
this stuff is so old and so bad that it's not even worth deprecating
2021-12-09 12:38:55 -05:00
Gavin King
042bd47825
finally remove all remaining traces of Session.connection()
2021-12-09 12:38:55 -05:00
Gavin King
75fc936b95
improve the javadoc for AttributeBinder+AttributedBinderType
2021-12-09 18:31:31 +01:00
Gavin King
b1ed206339
replace use of <br> with <p> in all the javadoc
2021-12-09 16:22:43 +01:00
Steve Ebersole
44fea07abf
HHH-14497 - Drop legacy id-generator settings;
...
HHH-14718 - Drop deprecated generator implementations
2021-12-09 07:45:44 -06:00
Steve Ebersole
703eaf22a0
HHH-14497 - Drop legacy id-generator settings;
...
HHH-14718 - Drop deprecated generator implementations
2021-12-09 07:20:28 -06:00
Steve Ebersole
1e33836632
to test pushing
2021-12-09 07:03:28 -06:00
Steve Ebersole
7a6cef5838
Miscellaneous
...
- Finished DialectVersion
- User Guide tidying
- User Guide section on AttributeBinder
2021-12-09 00:51:40 -06:00
Steve Ebersole
fa4b76702c
HHH-14950 - Support mapping of embeddables with no setters (assuming a custom instantiator or repo-strategy is used)
...
Tests;
Remove `ComponentTuplizer` and friends;
Remove `ComponentMetadata`
2021-12-08 21:17:05 -06:00
Steve Ebersole
09cc6d7b00
HHH-14950 - Support mapping of embeddables with no setters (assuming a custom instantiator or repo-strategy is used)
...
Tests
2021-12-08 17:42:13 -06:00
Steve Ebersole
37bc00e567
HHH-10558 - Add support for java.time.Year;
...
HHH-13393 - Add support for ZoneId
ZoneOffsetJavaTypeDescriptor was already added
2021-12-08 17:31:02 -06:00
Gavin King
61cba87096
fix the signature of Session.merge()
...
previously Session.merge() erased the generic type parameter
inherited from the supertype, obligating the client code to
perform a typecast
2021-12-08 17:01:21 -05:00