Commit Graph

6418 Commits

Author SHA1 Message Date
Steve Ebersole f54072df4e HHH-14398 : AttributeMapping order
- Also, marked 3 `org.hibernate.orm.test.sql.exec.onetoone.bidirectional.EntityWithBidirectionalOneToOneTest` tests as expected failures due to https://hibernate.atlassian.net/browse/HHH-14403
2021-01-13 10:07:22 -06:00
Nathan Xu d5a6774cd2 reuse ArrayHelper's empty array constant to avoid object creation 2021-01-13 14:35:08 +01:00
Jan Schatteman 2e835c47cd New Test annotation @NotImplementedYet
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-12-21 19:45:20 +01:00
Christian Beikov 4de1870785 HHH-14318 Introduce column mapping abstract to support formulas easily 2020-12-17 17:44:25 +01:00
Christian Beikov cb7c65e49d Use new parent PostgreSQLDialect for @RequiresDialect rather than subclass 2020-12-17 17:44:25 +01:00
Andrea Boriero 9770b49c4b Fix compilation errors 2020-12-11 10:30:18 +01:00
Steve Ebersole 33358df72b New testing `@Jpa` annotation 2020-12-11 10:24:29 +01:00
Andrea Boriero d810970489 Remove duplicated code from ConcreteSqmSelectQueryPlan 2020-12-11 09:56:16 +01:00
Andrea Boriero 820b815b35 BaseSqmToSqlAstConverter#consumeAttributeJoin() code clean up 2020-12-10 17:02:49 +01:00
Andrea Boriero 6d2e80d43a Fix EmbeddedId lazy collection initializer 2020-12-10 17:02:49 +01:00
Andrea Boriero c10b4e0f2f Fix issue with fetch deep and hql join fetch recognition 2020-12-10 17:02:49 +01:00
Andrea Boriero 7d74f1c727 Fix issue with emneddable id initialization 2020-12-10 17:02:49 +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 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
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 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 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
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
Sanne Grinovero 4aa7b84a86 HHH-14332 Make it easier for Quarkus SPI to avoid loading XML related resources 2020-11-17 18:01:02 +00:00