Commit Graph

10221 Commits

Author SHA1 Message Date
Steve Ebersole 093f410953 preliminary support for collections 2019-10-28 07:26:41 -05:00
Sanne Grinovero 02089a5cce HHH-13696 Minor code refactoring and applying the Hibernate code style 2019-10-28 10:53:51 +00:00
Kaja Mohideen 051a7d9b7c HHH-13696 Use PU Info Classloader when booting in OsgiPersistenceProvider 2019-10-28 10:35:32 +00:00
barreiro 1dd787eaa1 HHH-13446 - Validate mapped-by values got from annotations in bytecode enhancers 2019-10-26 17:53:56 +01:00
Sanne Grinovero b4a8052a15 HHH-13695 DDL export forgets to close a Statement 2019-10-25 16:47:52 +01:00
Sanne Grinovero e5539cc36c HHH-13651 Adding a regression test for the issue 2019-10-24 11:25:17 +01:00
Yosef Yona a5c8a812f5 HHH-13651 Applying hibernate codestyle to PersistentBag 2019-10-24 09:27:23 +01:00
Yosef Yona 2808a75d5c HHH-13651 NPE on flushing when ElementCollection field contains null element 2019-10-24 09:26:51 +01:00
Steve Ebersole cf09e47d40 fixed usage of `AbstractEntityPersister#staticFetchableList` 2019-10-23 13:10:36 -05:00
Andrea Boriero 520c8f2004 initial work for table per class inheritance 2019-10-23 16:15:56 +01:00
Andrea Boriero 27968b8027 Add test for TablePerClassInheritanceTest and MappedSuperclassInheritanceTest 2019-10-23 14:59:54 +01:00
Steve Ebersole 9574ffbd84 improved visitation of of fetchables to use "static List of fetchables" when TREAT is not used 2019-10-22 21:18:47 -05:00
Steve Ebersole 9279a7e766 fixed version 2019-10-22 17:49:18 -05:00
Steve Ebersole f5c3ae181c initial discriminator hierarchy support 2019-10-22 14:45:14 -05:00
Sanne Grinovero 97c300a6ad HHH-13686 Upgrade to Agroal 1.6 2019-10-21 18:50:29 +01:00
Andrea Boriero 4d0ec22411 5.4.7 2019-10-21 17:32:53 +01:00
Andrea Boriero 5c8045b422 5.4.7 2019-10-21 15:39:32 +01:00
Andrea Boriero 96e7abf80b HHH-13672 The temporary PersistenceContext of a StatelessSession is not cleared after a refresh operation 2019-10-21 12:08:58 +01:00
Andrea Boriero 43402ea51c HHH-13672 Add test for issue 2019-10-21 12:08:58 +01:00
Yoann Rodière d83acfa50f HHH-13681 Upgrade to Byteman 4.0.8 2019-10-21 12:59:29 +02:00
Yoann Rodière cacef1f466 HHH-13680 Upgrade to Byte-buddy 1.10.2 2019-10-21 12:59:29 +02:00
Steve Ebersole 3c65085123 changed log message level 2019-10-21 05:08:09 -05:00
Andrea Boriero f39d96f9fa HHH-13673 Cryptic error when providing import.sql file without a terminal char at the end of each line 2019-10-21 10:17:03 +01:00
Andrea Boriero 8f68a3573e HHH-13673 Add test for issue 2019-10-21 10:17:03 +01:00
Steve Ebersole 31e2423d8a initial work on support for discrim-inheritance;
started design doc about SQM model, building and translation;
initial work on `#load` support (strange error in BasicFormatterImpl as part of SqlStatementLogger)
2019-10-18 12:46:22 -05:00
Christoph Dreis 3b1e7afb20 HHH-13675 : Optimize PersistentBag.groupByEqualityHash() 2019-10-18 13:28:00 +01:00
Andrea Boriero 1c840f9dd1 HHH-12858 HHH-13432 fix Oracle failing tests 2019-10-18 13:15:48 +01:00
Steve Ebersole 26d914f414 (perf) Antlr parsing performance - what they call "2 step parsing" 2019-10-18 07:11:19 -05:00
Gail Badner 93a07453f0 HHH-13634 : Fix test case queries to order results 2019-10-17 12:04:19 -07:00
Gail Badner 42de569a37 HHH-13634 : PersistenceContext can get cleared before load completes using StatelessSessionImpl 2019-10-17 09:46:58 -07:00
Gail Badner eccb786ba4 HHH-13634 : Test cases 2019-10-17 09:46:58 -07:00
Steve Ebersole 9aab0892eb fixed issues with merging master 2019-10-17 10:20:52 -05:00
Andrea Boriero 8b500acc1d Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_9 2019-10-17 16:02:43 +01:00
Yoann Rodière 6cdb0256d4 HHH-13666 Test custom BeforeTransactionCompletionProcess/AfterTransactionCompletionProcess 2019-10-17 15:54:16 +02:00
Yoann Rodière 5c8169ba7c HHH-13666 Re-use the wrapped exception's message upon beforeTransactionCompletion/afterTransactionCompletion failure
For convenience.
2019-10-17 15:54:16 +02:00
Yoann Rodière f9c149ab0d HHH-13666 Throw a HibernateException with a more appropriate message upon beforeTransactionCompletion/afterTransactionCompletion failure 2019-10-17 15:54:16 +02:00
Yoann Rodière 250f569339 HHH-13666 Clarify that existing BeforeCompletion/AfterCompletion tests are about JTA only 2019-10-17 15:54:16 +02:00
Yoann Rodière 8655d683e6 HHH-13666 Remove some dead code in tests related to transactions 2019-10-17 15:54:16 +02:00
Andrea Boriero 39afae5462 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_8 2019-10-17 09:18:56 +01:00
Gail Badner 81d5f5eb21 HHH-13633 : Fix test case queries to order results 2019-10-16 13:53:53 -07:00
Steve Ebersole 1a3fcff8af (perf) fix cases of Map resizing when number of entries known ahead of time;
(perf) convert some List Iterators to "for i" loops
2019-10-16 13:48:23 -05:00
Gail Badner 388b62f049 HHH-13633 : Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
Make corrections.

(cherry picked from commit 40a7cee13d)
2019-10-16 11:27:35 -07:00
Gail Badner ce19b83e4e HHH-13633 : Add tests including for no HibernateProxy factory
(cherry picked from commit 5aa421d697)
2019-10-16 11:27:35 -07:00
Gail Badner 20d6b53631 HHH-13633 : Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
Minor changes suggested by Andrea.

(cherry picked from commit cce634f03b)
2019-10-16 11:27:35 -07:00
Gail Badner f1fa438bbe HHH-13633 : Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
(cherry picked from commit b589251166)
2019-10-16 11:27:35 -07:00
Gail Badner e2a403e19d HHH-13633 : Added more tests based on renamed original (w/ and w/o bytecode enhancement)
(cherry picked from commit 9ad427a33e)
2019-10-16 11:27:35 -07:00
Andrea Boriero 38ff41c896 HHH-13633 : Add test for issue
(cherry picked from commit 1d8f93ca64)
2019-10-16 11:27:35 -07:00
Steve Ebersole 5482c55e6c remove caching of ColumnReferences inside ColumnReferenceQualifier - they are already cached as part of the SqlExpressionResolver, which has a broader scope and is therefore more efficient place 2019-10-16 10:30:17 -05:00
Steve Ebersole 4d32d3d763 prep work for to-one mapping support 2019-10-16 10:04:28 -05:00
Steve Ebersole 63b22c4c6b fixed references to same column, but from different TableReferences (different qualifiers) 2019-10-15 15:30:03 -05:00