Commit Graph

5451 Commits

Author SHA1 Message Date
Steve Ebersole 2b65c73fb7 fixed concurrency problem uncovered during JMH-based throughput testing (Act 3) 2019-11-21 20:56:48 -06:00
Steve Ebersole 1b2aa85fa7 fixed concurrency problem uncovered during JMH-based throughput testing (Act 2) 2019-11-21 20:41:27 -06:00
Steve Ebersole db86a107f7 fixed concurrency problem uncovered during JMH-based throughput testing 2019-11-21 20:16:12 -06:00
Andrea Boriero 03c5bd406f work on aggregate composite identifier 2019-11-21 17:43:25 -06:00
Andrea Boriero 8e81f54a86 partially implemented QueryParamters#processFilters 2019-11-21 17:43:25 -06:00
Andrea Boriero 9a0ad0f21d work on aggregate composite identifier 2019-11-21 17:43:25 -06:00
Steve Ebersole 04c5160e02 pull over "legacy 6.0" tests 2019-11-21 15:29:13 -06:00
Steve Ebersole 7576b51407 pull over "legacy 6.0" tests 2019-11-21 14:48:38 -06:00
Andrea Boriero e4f70d508f HHH-13724 - Add more tests 2019-11-20 17:19:50 +00:00
Andrea Boriero a53772f6a0 HHH-13725 - Fix issue circular fetch detection 2019-11-20 10:38:24 -06:00
Andrea Boriero c8a1728bde HHH-13725 - Fix issue with DelayedEntityFetchImpl and FK not referring to PK 2019-11-20 10:38:24 -06:00
Andrea Boriero 343dd979ba HHH-13725 ToMany FkDescriptor creation and circular fetch detecion 2019-11-20 10:38:24 -06:00
Andrea Boriero aa3ff4507d HHH-13725 Work on circular fetch detection 2019-11-20 10:38:24 -06:00
Andrea Boriero 461e559184 HHH-13725 Add more tests 2019-11-20 10:38:24 -06:00
Andrea Boriero 4ca9617b6f HHH-13725 - Fix determining FK key name for OneToOne with PrimaryKeyJoinColumn 2019-11-20 10:38:24 -06:00
Andrea Boriero 4c614e0315 HHH-13725 Add more tests 2019-11-20 10:38:24 -06:00
Andrea Boriero 7db245230e HHH-13725 Fix join fetch with alias 2019-11-20 10:38:24 -06:00
Andrea Boriero 93c6c2e7e7 Add more tests 2019-11-20 10:38:24 -06:00
Andrea Boriero 97f9d4ce00 HHH-13725 Work on circular fetc detection 2019-11-20 10:38:24 -06:00
Steve Ebersole 032fdb5d2e HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries
CTE, id-table and in-line strategies are all implemented (though only id-table is tested);
  refactoring for performance (direct creation of SQL AST object directly, rather than SQM -> SQL AST) and as part of initial impls for remaining strategies (global temp and persistent id tables, and the "inline" strategy;
  fixed concurrency bug (thanks Luis!)
2019-11-20 10:36:24 -06:00
Steve Ebersole b04599cbe5 HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries
complete support for "local temp table"-based strategy
2019-11-18 12:20:48 -06:00
Andrea Boriero 0dae701c93 HHH-13725 - Add more tests 2019-11-15 12:13:40 -06:00
Andrea Boriero ed49f6abcf HHH-13725 - Implement ManyToOne with Join Table associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero 36bf9f9dfe changed order of AbstractEntityPersister#attributeMappings 2019-11-15 12:13:40 -06:00
Andrea Boriero b986ef1ea8 HHH-13725 - Implement ManyToOne associations 2019-11-15 12:13:40 -06:00
Andrea Boriero 0094236d98 HHH-13725 - Implement ManyToOne associations support done some code refactoring 2019-11-15 12:13:40 -06:00
Andrea Boriero d2851888f9 HHH-13725 - Implement ManyToOne associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero 86dee1f66c HHH-13725 - Implement ManyToOne associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero bfb640196d HHH-13725 - Implement ToOne Associations support - add @FailureExpected to EntityWithManyToOneJoinTableTest 2019-11-15 12:13:40 -06:00
Andrea Boriero dd772ab2a0 HHH-13725 - Implement ToOne Associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero 09d1dd3daf HHH-13725 - Implement ToOne Associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero a99881a103 HHH-13725 - Implement ToOne Associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero ef5db4aa3b HHH-13725 - Implement ToOne Associations support 2019-11-15 12:13:40 -06:00
Andrea Boriero 403bf9257c HHH-13725 - Implement ToOne Associations support 2019-11-15 12:13:40 -06:00
Steve Ebersole 83a1eb5715 HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
basic working support for simple (non-multi-table) SQM UPDATE statements
2019-11-12 18:02:21 -06:00
Steve Ebersole eddd5b938b HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries
work on generalized CTE handling;
initial work on SQM CTE support
2019-11-12 14:19:23 -06:00
Steve Ebersole dd364ccf5f HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
fixed problem with local temp table support - it works!
2019-11-12 11:34:50 -06:00
Steve Ebersole a654c95c8d HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
fixed problem with local temp table support - it works!
2019-11-12 11:30:41 -06:00
Steve Ebersole 2ca1bf876b HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
work on CTE-base multi-table handling
2019-11-11 18:11:42 -06:00
Steve Ebersole eadd9ae4bb HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
work on CTE-base multi-table handling
2019-11-11 17:50:29 -06:00
Steve Ebersole d38c163f3a HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
work on CTE-base multi-table handling
2019-11-11 17:35:46 -06:00
Steve Ebersole 169646875b HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
work on CTE-base multi-table handling
2019-11-11 17:25:27 -06:00
Steve Ebersole 82b8e77184 HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
tests for joined-subclass
2019-11-11 16:46:27 -06:00
Steve Ebersole ba5ef1b149 HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries;
local-temp-table support works tested on H2.  I believe cte support works as well - need to set up and environment with a database supporting it.

There is a problem saving entities with secondary tables atm so for now i cannot create the data to assert that the correct rows were deleted.  But looking at the executed SQL it works
2019-11-11 16:09:55 -06:00
Andrea Boriero 186f4b37c0 Joined inheritance work - implemented explicit Discriminator 2019-11-11 13:38:41 +00:00
Andrea Boriero 895cc3f529 Joined inheritance work - fixed issue 2019-11-11 12:20:23 +00:00
Andrea Boriero e0dd8321f3 fix up 2019-11-09 11:00:39 +00:00
Andrea Boriero dbd1079828 Joined inheritance work - Removed CasePredicate 2019-11-09 10:57:32 +00:00
Andrea Boriero fccaca8391 Joined inheritance work - Removed columnExpression field from CaseSearchedExpression 2019-11-09 10:45:42 +00:00
Steve Ebersole 59e4552195 Working support for simple restricted HQL DELETE -> execution!! 2019-11-08 18:35:42 -06:00