10210 Commits

Author SHA1 Message Date
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
Steve Ebersole
e6895c3d91 Working support for simple HQL DELETE -> execution!! 2019-11-08 16:26:10 -06:00
Steve Ebersole
30ad3eabe5 Working support for simple HQL DELETE -> SqmDeleteStatement translation 2019-11-08 16:00:05 -06:00
Andrea Boriero
8dd63c372d removed hibernate-core-RunnableIdeTest.launch 2019-11-08 21:45:34 +00:00
Andrea Boriero
3fcb9efda3 removed gradlew_process_test_resources.launch 2019-11-08 17:47:46 +00:00
Andrea Boriero
feacaf14f4 fix rebase compilation errors 2019-11-08 16:06:54 +00:00
Andrea Boriero
6b1c5c8c11 Refactoring : JoinedSubclassDiscriminatorMappingImpl and EntityDiscriminatorMappingImpl 2019-11-08 16:06:54 +00:00
Andrea Boriero
ebb3e36db6 Fix mixed inheritance issue 2019-11-08 16:06:54 +00:00
Andrea Boriero
42213c860a Fix joined inheriatance with concrete root 2019-11-08 16:06:54 +00:00
Andrea Boriero
0f2e5dca8c add to the root query the PK columns of the subclasses tables 2019-11-08 16:06:54 +00:00
Andrea Boriero
0a6fd5ba46 Implemented CaseExpressionWalker for different Dialects 2019-11-08 16:06:54 +00:00
Andrea Boriero
bef4fc1fde initial work on joined inheritance, implemented root queries 2019-11-08 16:06:54 +00:00