Commit Graph

11517 Commits

Author SHA1 Message Date
Christian Beikov c915168cf1 HHH-14360 Test a fix for NPE due to non-existing previous state in bytecode enhanced dirty attribute resolving 2020-12-09 11:46:43 +01:00
Andrea Boriero d32fb746d6 Fix SqlAstTranslator affected tablenames includes synch tables 2020-12-08 17:01:27 +01:00
Andrea Boriero 9a6465a72f Check if auto flush is required for hql queries 2020-12-08 17:01:27 +01:00
Andrea Boriero dbec10aff1 HHH-14364 UpdateDetachedTest#testUpdateDetachedWithAttachedPersistentSet failing when run on OracleDB 2020-12-08 16:04:07 +01:00
Andrea Boriero bdc3a5cdc7 HHH-14363 MutableTypeEnhancementTestCase failing when run on Oracle DB 2020-12-08 15:45:37 +01:00
Andrea Boriero f54105cc51 Fix issue with fetch for hql query 2020-12-08 11:36:04 +01:00
Christian Beikov c4673e5a5c Fix a few more test issues and handle group by summarization rendering strategies as well as group by literal rendering strategies 2020-12-08 11:27:27 +01:00
Christian Beikov a57f93b14a Use processing stack during parsing to access query spec, fix lots of db2 issues 2020-12-08 11:27:27 +01:00
Christian Beikov 604cef2cb6 Move persistence context access in EntitySelectFetchInitializer to fix PostgreSQL issues 2020-12-08 11:27:27 +01:00
Christian Beikov 7f1a60c4c6 Fix some more tests and fix auto flushing for select queries 2020-12-08 11:27:27 +01:00
Christian Beikov 650342c093 Move out the temporary session cleanup into a dedicated method called after translation 2020-12-08 11:27:27 +01:00
Christian Beikov fa5d2d9e08 Use WrapperOptions for JdbcLiteralFormatter instead of SessionImplementor 2020-12-08 11:27:27 +01:00
Christian Beikov 817bf95a9a Fixes according to review comments 2020-12-08 11:27:27 +01:00
Christian Beikov 3b730ac376 Fix a few more tests, simplify collation handling, HQL parsing support for tuples, revert wrong dialect changes, alias support for group by and order by, implement index optimized tuple comparison emulation 2020-12-08 11:27:27 +01:00
Christian Beikov d9446e7c77 Fix a few test issues, implement tuple emulation, group by support and support configuring criteria value handling mode 2020-12-08 11:27:27 +01:00
Andrea Boriero b9e7cc3c93 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-12-01 13:20:14 +01:00
Andrea Boriero cf9d4ec3b3 HHH-14242 Fix issue for Dialects supporting row value constructor Syntax but not in the SET clause 2020-11-30 20:59:01 +00:00
Andrea Boriero e7bcc03ede HHH-14251 Fix issue for Dialects not supporting row value constructor Syntax 2020-11-30 20:58:50 +00:00
Andrea Boriero 9376650097 HHH-14251 Invalid SQL for @Embedded UPDATE 2020-11-30 20:58:44 +00:00
Andrea Boriero 900da12419 HHH-14251 Add test for issue 2020-11-30 20:58:37 +00:00
nicklas.wallgren 53a5c7fa97 HHH-14350 MariaDB103Dialect requires the lock wait timeout to be expressed in seconds 2020-11-30 20:38:39 +00:00
Michael Edgar 3de7fb653e HHH-14346 Check declaredPluralAttributes for null before access 2020-11-30 18:49:55 +00:00
Christian Beikov 8ded205b5f HHH-14343 Fix quoting of column names when globally quoted identifiers is active 2020-11-30 17:35:41 +00:00
info@kawoolutions.com 3434293a7e Test case for HHH-14343 2020-11-30 17:35:41 +00:00
Christian Beikov e2dbf52abe Restore collectionsInDefaultFetchGroupEnabled usage in LazyAttributesMetadata 2020-11-30 17:17:58 +00:00
Christian Beikov b08fbdaa6e HHH-14348 Special handling in bytecode enhancement for lazy PersistentCollection fields 2020-11-30 17:17:58 +00:00
Christian Beikov a239e343b3 Fix permissions and typo 2020-11-26 17:33:41 +01:00
Christian Beikov e468aeb786 HHH-14336 Enable tests across databases in Github Actions 2020-11-26 17:33:28 +01:00
Christian Beikov 36d9ec4040 Fix permissions and typo 2020-11-26 17:27:44 +01:00
Christian Beikov 234bfab1ac HHH-14336 Enable tests across databases in Github Actions 2020-11-26 16:15:15 +01:00
Andrea Boriero 1a9bd7d4b3 Re-enabled additional test and fix issue with native queries not flushing session 2020-11-25 18:18:15 +01:00
Andrea Boriero e3947b3b1c Re-enabled additional tests and fix issues with IdClass 2020-11-25 15:15:34 +01:00
Andrea Boriero 52ba3d9c5a Fix issue with StandardPojoEntityRepresentationStrategy 2020-11-24 16:12:43 +01:00
Andrea Boriero a3f946ad6e Re-enabled additional tests 2020-11-24 15:04:46 +01:00
Andrea Boriero 204b01768d Fix issue with gradle build with java 11 2020-11-24 13:01:39 +01:00
Andrea Boriero bb4c4d0767 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-11-24 12:33:51 +01:00
Andrea Boriero ddb0be61d5 Re-enabled more tests and fix issues with in predicate, sqmMultiTableMutationStrategy creation and other minor issues 2020-11-24 12:24:59 +01:00
Christian Beikov c3eaa7cf30 HHH-13945 Fix issues on PostgreSQL 2020-11-23 14:44:51 +01:00
Luke Chen e3a9ee61f2 HHH-13945: add debug log during exception thrown 2020-11-23 13:52:19 +01:00
Luke Chen 2404ff56ab HHH-13945: catch PersistenceException during envers unproxy the field value, and fallback to using proxy entity 2020-11-23 13:52:19 +01:00
Luke Chen 2228bd238e HHH-13945: fallback to call map if exception thrown 2020-11-23 13:52:19 +01:00
Christian Beikov a975fbf5d4 HHH-14319 Create new collection rather than clearing original which is backing PersistentCollection entry of session 2020-11-23 13:23:02 +01:00
Christian Beikov 966d07c2d1 HHH-14319 Test case showing CollectionType.replaceElements wrongly clears backing collection 2020-11-23 13:23:02 +01:00
Yanming Zhou 97b67603ac HHH-14334 Make dom4j jaxb-api optional as possible
dependency dom4j and jaxb-api is optional if xml mapping disabled
continuation of HHH-13204
2020-11-20 16:17:26 +00:00
Christian Beikov 095eef2dcb HHH-14335 Remember the resolved type in SimpleValue#getType instead of resolving multiple times 2020-11-20 10:02:33 +00:00
Andrea Boriero eafebd016f Re-enabled additional tests and added support for non aggregated fk 2020-11-19 15:32:19 +01:00
Andrea Boriero 1361b5108c Re-enabled additional tests and fixed IdClass issues 2020-11-18 22:01:32 +01:00
Andrea Boriero 693139c515 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-11-18 11:44:44 +01:00
Sanne Grinovero 93b8095ef6 HHH-14333 Pessimistic Lock causes FOR UPDATE on outer join statements 2020-11-17 20:08:29 +00:00
Andrea Boriero 6012557916 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-11-17 19:35:39 +01:00