6539 Commits

Author SHA1 Message Date
Sanne Grinovero
b13a116a6e HHH-10715 Dead code eliminated 2020-10-25 21:33:13 +00:00
Sanne Grinovero
111e551dcd HHH-10715 Dead code elimination 2020-10-25 21:33:02 +00:00
Sanne Grinovero
ba0bf0d619 HHH-10715 Make IdentifierProperty immutable 2020-10-25 21:32:56 +00:00
Sanne Grinovero
7870329b77 HHH-14282 StandardRefCursorSupport can rely on having JDK8 as baseline today 2020-10-25 21:31:17 +00:00
Andrea Boriero
31c035b4e8 HHH-14278 No longer use the AssertionFailure and StringHelper implementations from HCANN 2020-10-23 10:32:05 +01:00
Andrea Boriero
4e22c5cabc Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-23 10:31:29 +01:00
Sanne Grinovero
5091203426 HHH-14278 No longer use the AssertionFailure and StringHelper implementations from HCANN 2020-10-22 20:10:28 +01:00
Andrea Boriero
27c06efd66 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-22 10:57:39 +01:00
Andrea Boriero
fa5078a915 HHH-14245 ClassCastException for Criteria Collection size selection 2020-10-21 14:45:34 +01:00
Andrea Boriero
98168bd066 HHH-14245 Add test for issue 2020-10-21 14:41:04 +01:00
Scott Marlow
dbd13e1389 HHH-14196 Add parsing of persistence.xml/orm.xml documents in the EE 9 namespace
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2020-10-20 15:56:11 +01:00
Sanne Grinovero
97d101b742 HHH-14269 Confusing method names unableToObjectConnectionMetadata and unableToObjectConnectionToQueryMetadata 2020-10-20 12:40:25 +01:00
Daniel Wu
d9ec18fad7 HHH-14268 Include stacktrace at WARN level in case of an error occurs when getting the connection metadata 2020-10-20 12:12:48 +01:00
Nathan Xu
f17c0f7a03 HHH-14234 fix CI building error on non-H2 dialect 2020-10-19 16:17:37 +02:00
Andrea Boriero
731cbbc739 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-19 15:06:49 +01:00
Nathan Xu
f8fb0b0069 HHH-14234 fix CI building error on HANA dialect 2020-10-19 08:49:06 +02:00
Nathan Xu
5b8bae5cc7 HHH-14234 fix issue denormalized table should not inherit indexes from parent table 2020-10-18 16:29:08 +02:00
Nathan Xu
962884a8dd HHH-14264 fix bug that entity graph cannot be applied to child entity class 2020-10-18 11:53:16 +02:00
Yanming Zhou
88acc9511b HHH-14253 support ConstraintMode.PROVIDER_DEFAULT
Provide an option to skip foreign key creation for ConstraintMode.PROVIDER_DEFAULT
2020-10-14 09:20:17 +02:00
Andrea Boriero
776a0402f6 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-12 09:15:56 +01:00
Nathan Xu
5c51ed46e8 correct error in StandardOrderedMapSemantics due to generics checking 2020-10-12 09:00:51 +01:00
Jan Schatteman
8d4de09255 HHH-14241 Support ImplicitNamingStrategyComponentPathImpl with IdClass
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-10-09 13:24:17 +02:00
Fabio Massimo Ercoli
03416a8cdd HHH-14241 Test ImplicitNamingStrategyComponentPathImpl with IdClass 2020-10-09 13:24:17 +02:00
Andrea Boriero
b89658628e Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-08 09:11:07 +01:00
Nathan Xu
3a88b1c6b2 HHH-14248 Other minor improvements to ActionQueue 2020-10-08 08:19:49 +01:00
Nathan Xu
c3e43ecd11 HHH-14248 Refactor latestBatches from InsertActionSorter's field to temporary variable in its sort method 2020-10-08 08:19:40 +01:00
Andrea Boriero
112d215371 HHH-14249 MultiLineImport fails when script contains blank spaces or tabs at the end of the last sql statement 2020-10-07 08:54:48 +01:00
Andrea Boriero
425ee2d3d5 HHH-14249 Add test for issue 2020-10-07 08:54:48 +01:00
Andrea Boriero
93cd8aaf4e Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-06 17:36:13 +01:00
Nathan Xu
05f47ce80b HHH-14227 fix testing failure on Oracle 2020-10-06 08:56:38 +01:00
Nathan Xu
d045797aa7 HHH-14227 Add some more tests to cover order of batched insert executions 2020-10-05 13:40:08 +01:00
Nathan Xu
9de5e3e005 HHH-14227 Some additional typos and message improvements 2020-10-05 13:40:08 +01:00
Nathan Xu
de6736ba32 HHH-14227 Insert statements are not ordered with entities that use inheritance and reference a subclass 2020-10-05 13:40:08 +01:00
Andrea Boriero
72b548b912 MutationExecutor Add call to autoFlushIfRequired 2020-10-05 09:18:22 +01:00
Andrea Boriero
fc6f515407 EntityValuedPathInterpretation fix TableGroup resolution for implicit join e.g or 2020-10-05 09:18:22 +01:00
Andrea Boriero
0bd2c32f76 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-02 12:39:41 +01:00
Nathan Xu
733ece81f4 HHH-14231 Fix ClassCastException in ScrollableResultsImpl for primitive array value 2020-09-30 17:56:29 +01:00
Dmitry Gusev
77cf9d5108 HHH-14242 Micro optimisations of ActionQueue: redundant branch evaluation 2020-09-30 17:27:12 +01:00
Sanne Grinovero
71ef49d6b1 Revert "HHH-14240 Stop generating fragments of SQL as uppercase"
This reverts commit 9ac29ab4dc5845d020d55900d96a99d9127d5968.

See also https://github.com/hibernate/hibernate-orm/pull/3555#issuecomment-701472270
2020-09-30 17:10:42 +01:00
Sanne Grinovero
225e29d2b2 HHH-14217 Minor optimisations in the highlighting formatter implementation 2020-09-30 16:58:29 +01:00
Sanne Grinovero
916513a7eb HHH-14217 Code style 2020-09-30 16:51:27 +01:00
Gavin King
cf995a1571 HHH-14217 Add syntax highlighting to the logged SQL
Using ANSI escape codes

Must be explicitly enabled using hibernate.highlight_sql
2020-09-30 16:39:12 +01:00
Gavin King
9ac29ab4dc HHH-14240 Stop generating fragments of SQL as uppercase 2020-09-30 16:17:59 +01:00
Gavin King
7f6479541d HHH-14203 DB2 requires the restrict keyword to drop the schema
The 'restrict' keyword is required on DB2.
2020-09-30 15:55:20 +01:00
Gavin King
bc39df2812 HHH-14238 Option to include collection fields in the default fetch group
There is no good reason to lazily-instantiate a collection
wrapper, since that operation never requires access to the
database.

See discussion here:

   https://github.com/hibernate/hibernate-reactive/issues/374
2020-09-30 15:24:48 +01:00
Andrea Boriero
fb22400bf7 Fix compilation error after merge 2020-09-30 08:08:50 +01:00
Andrea Boriero
6d349bac5b Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-09-30 07:37:55 +01:00
Andrea Boriero
57004cdee7 HHH-14220 Fix failure with Oracle 2020-09-29 08:31:48 +01:00
Andrea Boriero
a64f193fae HHH-14220 Skip test when bytecode provider is Javassist 2020-09-28 21:39:44 +01:00
Sanne Grinovero
f2a742e3c4 HHH-14236 Improve efficiency of ForeignKeyKey 2020-09-28 16:10:10 +01:00