5799 Commits

Author SHA1 Message Date
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
Andreas Knees
be23e167af HHH-13722 Introducing a test case 2019-11-18 14:59:56 +00:00
Sanne Grinovero
7331a58d5e HHH-13722 ArrayStoreException in Constraint.generateName 2019-11-18 14:55:37 +00: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
Gail Badner
76308e8a3e HHH-13737 : Correct log message and fix checkstyle failure 2019-11-14 18:22:01 -08:00
Gail Badner
7d8549d8aa HHH-13737 : Add debug logging 2019-11-14 18:22:01 -08:00
Gail Badner
c02011ef40 HHH-13737 : Add test case for HHH-13433 2019-11-14 18:22:01 -08:00
Andrea Boriero
841368175f HHH-13614 Allow the IntegratorProvider to be supplied via its FQN in the JPA persistence.xml 2019-11-14 13:35:09 +00:00
Vlad Mihalcea
52f9a36a6d HHH-13614 Allow the IntegratorProvider to be supplied via its FQN in the JPA persistence.xml 2019-11-14 13:35:09 +00:00
Andrea Boriero
f5fb84cfe2 HHH-13705 Enhancement as Proxy with inline dirty checking - flush of an @ManyToOne with an Embedded value having not null properties causes PropertyValueException 2019-11-14 11:31:11 +00:00
Andrea Boriero
842a155615 HHH-13705 Add test for issue
HHH-13705 Add test for issue
2019-11-14 11:31:11 +00:00
Christian Beikov
47c8a89390 HHH-13712 - Test and fix for missing superclass table joins when joining superclass associations 2019-11-14 11:29:01 +00:00
Andrea Boriero
9ddab37748 HHH-13727 H2 database with DATABASE_TO_UPPER=false throws org.h2.jdbc.JdbcSQLSyntaxErrorException: Table sequences not found 2019-11-13 13:57:48 +00: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
Christian Beikov
0c0248d448 Include the WITH clause AST in the FromElement so that column references can be analyzed 2019-11-12 17:47:48 +00:00
Jan-Willem Gmelig Meyling
05e6a41e5f HHH-13670 - Reproducer Missing from clause in query with joined inheritance, regression in 5.4.5 2019-11-12 17:47:48 +00:00
Sanne Grinovero
164e1fc7cc HHH-13687 TenantSchemaResolver not called in integration test after upgrade from 2019-11-12 17:40:59 +00: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
Sanne Grinovero
66515a2e4e HHH-13723 Hint sizing of ArrayList in ResultSetProcessingContextImpl 2019-11-11 10:59:14 +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