Commit Graph

10195 Commits

Author SHA1 Message Date
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
Andrea Boriero 7120b8bd40
Merge pull request #191 from dreab8/wip/6.0_merged_12
Wip/6.0 merged
2019-11-08 15:54:35 +00:00
Andrea Boriero c7c040db9c fix errors 2019-11-08 14:48:46 +00:00
Andrea Boriero 4b0da2444b Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_11 2019-11-08 14:24:48 +00:00
Steve Ebersole 68d931e383 completed revert of HHH-13656 2019-11-08 07:12:16 -06:00
Steve Ebersole dd0b6a9da3 Revert "HHH-13656 Con not build and run test on Eclipse IDE"
This reverts commit f6fad942df.
2019-11-08 07:07:56 -06:00
Steve Ebersole 39b46f2a9a reverted e651bd7369 (by hand) 2019-11-08 07:02:12 -06:00
Steve Ebersole 7e34be04db Revert "HHH-13656 Can not build and run test on Eclipse IDE"
This reverts commit 0f859e7bb4.
2019-11-08 06:50:59 -06:00
Steve Ebersole 2cc517e349 Revert "HHH-13656 Can not build and run test on Eclipse IDE"
This reverts commit 85f129daeb.
2019-11-08 06:50:38 -06:00
Scott Marlow a682a7d19c HHH-13433 EntityManager.find() should only check for roll-back-only condition if there is an active JTA transaction, otherwise ORM should throw throw convert( e, lockOptions ) 2019-11-07 20:33:25 -08:00
Steve Ebersole 3cb6e137bf fixed fk predicate rendering into SQL AST for collections;
basic tests for loading + mapped-fetch strategy
2019-11-07 20:08:03 -06:00
Steve Ebersole d200fa9545 xjc plugin via portal 2019-11-07 14:11:28 -06:00
Steve Ebersole 92391ec3e6 change expected type of entity identifier values from Serializable to Object - fixed all related compile problems in all modules 2019-11-07 13:42:57 -06:00
Steve Ebersole 5b3c6c4884 continued work on replacing LoadPlan with SQL AST approach - cleanup;
change expected type of entity identifier values from Serializable to Object
2019-11-07 13:42:57 -06:00
Steve Ebersole e522cbe542 preliminary work on replacing LoadPlan with SQL AST approach - basic working support 2019-11-07 13:42:57 -06:00
Marco Behler 6dc5f37827 Link to Marco Behler's guide to "data access in Java" from the Getting Started Guide preface 2019-11-05 14:21:32 -06:00