Commit Graph

10342 Commits

Author SHA1 Message Date
Gavin King 96bc705d9a HHH-14142 Make constructor of StatelessSessionImpl public
needed by Hibernate Reactive, see:

https://github.com/hibernate/hibernate-reactive/pull/310
https://hibernate.atlassian.net/browse/HHH-14142
2020-08-09 08:52:58 +02:00
Sanne Grinovero 6392de46d0 HHH-14137 Some more string check performnance optimisations 2020-08-06 17:57:42 +02:00
Ihar Sadounikau ea333d23b6 HHH-14137 Empty String check performance improvements 2020-08-06 17:18:15 +02:00
Sanne Grinovero 60a063bce2 HHH-13974 Test efficiency improvements 2020-08-05 17:06:16 +02:00
Michael Spahn 68edfadc65 HHH-13974 FlushMode set through SessionBuilder was never applied 2020-08-05 17:06:11 +02:00
Steve Ebersole c1254cc205 HHH-14033 SQL script parsing problem with multi-line comments
- Better handling of multi-line comments
- Restructured some internal classes to consolidate packages
- Added "system"-style SchemaToolingLogging
2020-08-05 15:40:10 +02:00
Yoann Rodière 00989d28d8 HHH-14124 Test that the FETCH entitygraph semantic overrides EAGER associations to LAZY for all results 2020-07-30 13:37:28 +01:00
Yoann Rodière b15835788b HHH-14124 Test that the FETCH entitygraph semantic overrides EAGER associations to LAZY 2020-07-30 13:37:22 +01:00
Yoann Rodière 2c98ab236d HHH-14124 Avoid too many list allocations when hydrating query results
I suspect the original goal of having a single list of hydrated objects
for all rows was to avoid instantiating one list per row, but we did
just that in the fix in the last commit.

This introduces a hack to signal that we're starting to process a new
row while still keeping a flat, single-list structure: we inserting
null elements in the list of hydrated objects.

This is admittedly very ugly, but it's the only solution I can come up
with if we want to keep the number of memory allocations similar to what
we used to have. And hopefully this code will disappear in ORM 6.0.
2020-07-30 13:37:11 +01:00
Yoann Rodière 3bdc5af63d HHH-14124 Work around side-effects of TwoPhaseLoad.initializeEntity 2020-07-30 13:36:58 +01:00
Hibernate-CI 1f99fbc0aa 5.4.20-SNAPSHOT 2020-07-27 15:29:57 +00:00
Hibernate-CI 18026e0dd5 5.4.19.Final 2020-07-27 15:22:16 +00:00
Gail Badner b050a7c1bc HHH-14103 : Add test cases showing that an entity's transient attribute can be overridden to be persistent in entity subclasses 2020-07-27 14:21:22 +01:00
Andrea Boriero b57ad86500 HHH-13724 Fix failing tests 2020-07-27 13:52:40 +01:00
Andrea Boriero 476ed11b0f HHH-13724 Add matrix configuration 2020-07-27 13:52:30 +01:00
Andrea Boriero fc2be527aa HHH-13724 CriteriaLiteralWithSingleQuoteTest#testLiteralProjectionAndGroupBy add @SkipForDialect for CockroachDB Dialect 2020-07-27 13:52:21 +01:00
Rafi Shamim 29224e88bb HHH-13724 Add CockroachDB dialects and configs for testing 2020-07-27 13:52:10 +01:00
Nathan Xu 3765f5d6ca HHH-14116 Exception when fetch joining a non-collection when selecting non-query-root 2020-07-27 13:29:37 +01:00
Gail Badner 148cc15764 HHH-14112 : Invalid Pagination COUNT query generated with @Inheritance(strategy = InheritanceType.JOINED) 2020-07-27 13:19:47 +01:00
Andrea Boriero 16e45bc3d5 HHH-13410 - Fix Oracle failing test 2020-07-27 13:07:03 +01:00
Oliver Saggau d9180963e7 HHH-14071 Add test cases for issue 2020-07-22 10:12:40 +02:00
Oliver Saggau 6027fe1eea HHH-14071 Fix binding for FetchProfile for OneToOne(mappedBy=...) associations 2020-07-22 10:12:35 +02:00
Gittenburg 33e51c0c47 HHH-14041 - H2Dialect: fix referential integrity constraint constraint name extraction 2020-07-21 20:28:00 +02:00
gajendra.jatav 0eca528cc5 HHH-13410 Adding test case 2020-07-21 19:27:22 +02:00
gajendra.jatav 41b57a9cf9 HHH-13410 Option "order_inserts = true" causes FK Violation when inserting with a Unidirectional Relations between 4 Entities 2020-07-21 19:27:14 +02:00
Colm O hEigeartaigh 89904bd31f HHH-14100 - Update c3p0 to 0.9.5.5 2020-07-21 17:53:46 +02:00
katiforis 88381a58c8 HHH-14093 Make StatefulPersistenceContext#registerInsertedKey and StatefulPersistenceContext#wasInsertedDuringTransaction use HashSet instead of ArrayList 2020-07-21 17:43:03 +02:00
Sanne Grinovero 1ce322bceb HHH-13926 Test for the issue 2020-07-21 15:15:02 +02:00
Sanne Grinovero ccc99c972c HHH-13926 Remove no longer used parameters 2020-07-21 15:14:53 +02:00
Sanne Grinovero 061a85e631 HHH-13926 Propagate the original SQL to the Expectation so it can be logged 2020-07-21 15:14:43 +02:00
Sanne Grinovero 3ea0c5afe6 HHH-13926 Extract JdbcObserver lookup from the batching loop 2020-07-21 15:14:32 +02:00
Yoann Rodière 0d2d53057d HHH-14111 Upgrade to forbiddenapis 3.0.1 2020-07-20 11:49:02 +01:00
Yoann Rodière bf61e3db7d HHH-14111 Ensure Groovy compilation tasks target the same JDK version as the rest of the project 2020-07-20 11:49:02 +01:00
Yoann Rodière 37bf47b95f HHH-14111 Upgrade to biz.aQute.bnd (OSGi plugin) 5.1.1 2020-07-20 11:49:02 +01:00
Yoann Rodière b8c1ab8fbe HHH-14111 Upgrade to Gradle 6.5.1 2020-07-20 11:49:02 +01:00
Gail Badner b4b5a6f379 HHH-12268 : LazyInitializationException thrown from lazy collection when batch fetching enabled and owning entity refreshed with lock
(cherry picked from commit 06c78087ff)
2020-07-17 09:19:01 -07:00
Gail Badner f13cdcf2c9 HHH-12268 : Added test case
(cherry picked from commit f5d710b97d)
2020-07-17 09:19:01 -07:00
Andrea Boriero 6f3d60820c HHH-14108 PADDED and DYNAMIC Batch loading strategies not compatible with the Enhanced Proxy feature 2020-07-16 16:54:21 +01:00
Andrea Boriero 83404586ea HHH-14108 Add test for issue 2020-07-16 16:53:51 +01:00
Jens Borrmann 7698fc1707 HHH-14106 - Return entry from `#parentsByChild` in `StateFulPersistenceContext#getParentsByChild`
(cherry picked from commit 3159c8ff78)
2020-07-15 07:24:19 -05:00
Andrea Boriero ef8e028ded HHH-13214 Delete re-firing SQL from previous calls 2020-07-15 09:52:32 +01:00
Andrea Boriero 3553576236 HHH-13214 Delete re-firing SQL from previous calls 2020-07-15 09:52:25 +01:00
lining 0b71131136 HHH-13214 Delete re-firing SQL from previous calls 2020-07-15 09:52:18 +01:00
Nathan Xu 0614bfe3b8 HHH-14097 fix bug that redundant SQLs might be issued for 'FETCH' entity graph 2020-07-09 14:10:53 +01:00
Sanne Grinovero 2f7271c3b2 HHH-14096 Transform the XMLHelper copy for Envers into a private internal utility 2020-07-07 09:44:30 +01:00
Sanne Grinovero ef5d277df9 HHH-14096 Adapt the Hibernate Envers module to use its private copy of XMLHelper 2020-07-07 09:43:12 +01:00
Sanne Grinovero 115b5b9976 HHH-14096 Moving the XMLHelper from ORM core into testsuite helpers 2020-07-07 09:43:00 +01:00
Sanne Grinovero 77ee4529a6 HHH-14096 Remove unused import for deprecated type XmlDocument and dom4j 2020-07-07 09:42:55 +01:00
Xavier Dury efe151daa9 HHH-13931 MissingFormatArgumentException in JpaCompliantLifecycleStrategy.BeanImpl 2020-07-06 13:37:45 +01:00
yuanhang zheng 27bb8980d0 HHH-14059 Cannot use full qualified enum name which has two uppercase alphabet prefix 2020-07-06 12:54:17 +01:00