Commit Graph

10112 Commits

Author SHA1 Message Date
Steve Ebersole e522cbe542 preliminary work on replacing LoadPlan with SQL AST approach - basic working support 2019-11-07 13:42:57 -06:00
Andrea Boriero 704ba4f85f initial work on joined inheritance 2019-11-02 18:22:54 +00:00
Andrea Boriero 5cdf6d4b2b add test doe Joined inheritance 2019-11-02 13:32:08 +00:00
Andrea Boriero 5b928165b0 Add more inheritance tests 2019-11-02 12:58:51 +00:00
Andrea Boriero 47a7a0765c initial work for table per class inheritance 2019-11-02 12:58:51 +00:00
Steve Ebersole 2ea03f7d56 sketch for ForeignKeyDescriptor handling for to-one associations 2019-11-01 12:00:55 -05:00
hailtondecastro 85f129daeb HHH-13656 Can not build and run test on Eclipse IDE
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro 0f859e7bb4 HHH-13656 Can not build and run test on Eclipse IDE
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro e651bd7369 HHH-13656 Con not build and run test on Eclipse IDE
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro f6fad942df HHH-13656 Con not build and run test on Eclipse IDE
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro 9f8a312841 Eclipse windows 2019-11-01 11:22:21 -05:00
Steve Ebersole c89ee3761a preliminary support for collections - lists and sets tested (excluding entity-valued elements and map-key) 2019-10-31 17:43:54 -05:00
Steve Ebersole 093f410953 preliminary support for collections 2019-10-28 07:26:41 -05: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
Steve Ebersole 3c65085123 changed log message level 2019-10-21 05:08:09 -05: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
Steve Ebersole 26d914f414 (perf) Antlr parsing performance - what they call "2 step parsing" 2019-10-18 07:11:19 -05: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
Steve Ebersole 39391c86f2 Checkstyle (missing license header) 2019-10-15 14:22:47 -05:00
Steve Ebersole a5fe864295 Fixed test 2019-10-15 14:06:33 -05:00
Gail Badner fb8d5b42c9 HHH-13640 : Correct DefaultLoadEventListener#proxyOrLoad to work properly enhancement but no HibernateProxy factory 2019-10-15 10:47:33 -07:00
Gail Badner 66afff296a HHH-13640 : Add test using custom EntityTuplizer with no HibernateProxy factory using Session 2019-10-15 10:47:33 -07:00
Steve Ebersole 6ea723ddc5 New test 2019-10-15 11:49:36 -05:00
Steve Ebersole 611cdceeb2 Performance work 2019-10-15 11:38:29 -05:00
Andrea Boriero c392d03bf1 HHH-13665 selecting an Entity annotated with @Immutalbe but not with @Cachable causes a NPE when use_reference_entries is enabled 2019-10-15 11:02:04 +01:00
Andrea Boriero 8d9eb04d16 HHH-13665 Add test for issue 2019-10-15 11:02:04 +01:00
Gail Badner e10e84159a HHH-13640 : Remove SharedSessionContractImplementor#internalLoad(String, Serializable, boolean, boolean, Boolean unwrapProxy) 2019-10-14 11:40:00 -07:00