Commit Graph

10591 Commits

Author SHA1 Message Date
gavinking 1503f09a41 Log usage of deprecated Dialect classes using DeprecationLogger
We want people to stop using the ones annotated @Deprecated.
2020-02-19 08:57:04 -06:00
Nathan Xu 60ead26c4b Disallow FQN as entity name in Jpa compliance mode 2020-02-19 08:54:36 -06:00
gavinking c97fb45a02 Remove FrontBaseDialect
I can't find evidence that anyone uses this on StackOverflow, and the Dialect
is not of high quality.
2020-02-19 08:48:40 -06:00
gavinking 7267b418c5 Rename SAPDBDialect to MaxDBDialect
(Leaving a stub SAPDBDialect class for backward compatibility.)
2020-02-19 08:35:34 -06:00
Steve Ebersole e43c5a3166 https://github.com/asciidoctor/asciidoclet/pull/91
- work in progress as the PR did not fix the problems
2020-02-19 08:30:57 -06:00
gavinking 5d830ceebf Attempt to reconstruct the fallbackSqmMutationStrategies
This method threw lots of NotImplementedFor6Exceptions, so I've tried
to figure out what the right implementations are, going by what was
there in the other branches. However, I'm not at all sure that I got
everything here right.
2020-02-19 07:07:00 -06:00
Fabio Massimo Ercoli ccc3c58367 HH-13720 Test mapping model support for plural attributes - sorted map 2020-02-19 06:52:38 -06:00
Steve Ebersole 1042f23bee HHH-13103 - Allow Hibernate Types to get access to the current configuration properties using constructor injection 2020-02-18 15:22:05 -06:00
Vlad Mihalcea c346171b23 HHH-13103 - Allow Hibernate Types to get access to the current configuration properties 2020-02-18 15:22:05 -06:00
Vlad Mihalcea 9084ce497e HHH-13853 - Pass the merged Integration settings and Persistence Unit properties to buildBootstrapServiceRegistry 2020-02-18 11:42:51 -06:00
Andrea Boriero 8defa9619e Remove NavigablePath#hashCode field 2020-02-18 16:33:03 +00:00
Andrea Boriero c355ecee08 Fix issue with FromClauseIndex#findFetchedJoinByPath for hql 'from entity1 e1 join fetch e1.entity2 e2 join fetch e2.entity3' not resolving entity3 fetch join during EntityResultImpl creation 2020-02-17 18:07:00 +00:00
Andrea Boriero d77adbfc13 Add FailureExpcted to EmbeddedTest for @Parent annotation 2020-02-17 18:07:00 +00:00
Andrea Boriero 9d7c4f98e3 Fix compilation error after rebase 2020-02-17 18:07:00 +00:00
Andrea Boriero 529726f59a Remove unused import 2020-02-17 18:07:00 +00:00
Andrea Boriero 6cfbed73ba Fix issue with hql and where clause with Embeddable is null 2020-02-17 18:07:00 +00:00
Andrea Boriero efb07506f2 Fix test 2020-02-17 18:07:00 +00:00
Andrea Boriero 7d13abf528 Add test 2020-02-17 18:07:00 +00:00
Andrea Boriero 484589c5b4 Fix BiDirectionalFetchImpl CircularFetchAssembler#assemble for collection initialization 2020-02-17 18:07:00 +00:00
Andrea Boriero 7de3be2492 Fix NPE in SingularAssociationAttributeMapping#resolveCircularFetch(...) method 2020-02-17 18:07:00 +00:00
Andrea Boriero 9633345dbb Fix issue determining fetchablePath and fetchParent for PluralAttributes in LoaderSelectBuilder#createFetchableConsumer() method 2020-02-17 18:07:00 +00:00
Andrea Boriero d34353e2a3 Revert "EntityCollectionPart#generateFetch() add TableGroupJoin to EntityCollectionPartTableGroup"
This reverts commit f5351addb8155bd85fbd38f5b989ef0a260bcf3f.
2020-02-17 18:07:00 +00:00
Andrea Boriero 8c377e9208 Fix issue with @ElementColletion of Embeddables 2020-02-17 18:07:00 +00:00
Andrea Boriero a4330599c2 Fix SingularAssociationAttributeMapping identifyingColumnsTableExpression and inverseIdentifyingColumnsTableExpression values 2020-02-17 18:07:00 +00:00
Andrea Boriero f3b2a1537b Implemented SingularAssociationAttributeMapping circular fetch detection for ToOne with JoinTable 2020-02-17 18:07:00 +00:00
Andrea Boriero 2afd4c8123 Avoid EntityFetchJoinedImpl visiting the EntityIdentifierMapping 2020-02-17 18:07:00 +00:00
Andrea Boriero bd28b54482 EntityCollectionPart#generateFetch() add TableGroupJoin to EntityCollectionPartTableGroup 2020-02-17 18:07:00 +00:00
Andrea Boriero 8c16e7cfe9 Fix issue with AbstractEntityPersister and the creation of the RootTableGroup 2020-02-17 18:07:00 +00:00
Andrea Boriero 16d81eb4bf Refactoring 2020-02-17 18:07:00 +00:00
Steve Ebersole 3222b52ab2 continued work on circular fetch detection. still need to work through the cases involving embeddables "in between" 2020-02-17 18:07:00 +00:00
Steve Ebersole 00b5a700eb continued work on circular fetch detection. still need to work through the cases involving embeddables "in between" 2020-02-17 18:07:00 +00:00
Steve Ebersole 4f750cdc55 initial work on circular fetch detection across embeddables 2020-02-17 18:07:00 +00:00
Andrea Boriero 8c806a5a16 Fix issue with TableReference resolution 2020-02-17 18:07:00 +00:00
Andrea Boriero cb5fe2645a Code Clean up 2020-02-17 18:07:00 +00:00
Andrea Boriero c4887356ca Move more tests to o.h.orm.test 2020-02-17 18:07:00 +00:00
Andrea Boriero 67f77efa91 AttributeOverride add more tests 2020-02-17 18:07:00 +00:00
Andrea Boriero 436060008b Fix empty collection not initialized 2020-02-17 11:24:01 -06:00
Andrea Boriero 08b08c0d81 Re-enabled few more tests 2020-02-17 11:24:01 -06:00
Andrea Boriero a1b38ad58f Fix compilation error after merging master 2020-02-14 11:52:51 +00:00
Andrea Boriero 2660007df9 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_24 2020-02-14 11:36:06 +00:00
Andrea Boriero 015d1e019f 5.4.12 2020-02-13 18:43:12 +00:00
Andrea Boriero f5fe63bf0c 5.4.12 2020-02-13 18:04:06 +00:00
Sanne Grinovero 7d37e9f878 HHH-13863 Introduce the hibernate-graalvm module to share some GraalVM native image metadata 2020-02-13 17:09:56 +00:00
Sanne Grinovero 760386d2cf HHH-13864 Cosmetic change of format when reporting version number 2020-02-13 16:41:01 +00:00
Andrea Boriero 2f2d30e4e5 HHH-13861 Expose the doWork() and doReturningWork() APIs on StatelessSession as well 2020-02-13 09:33:00 +00:00
Sanne Grinovero 6b1ef47a2d HHH-13859 Test running a scanner on a JDK11 archive having module-info.class 2020-02-11 16:21:49 +00:00
Sanne Grinovero 2ed15445c6 HHH-13859 Removing unused import 2020-02-11 15:11:07 +00:00
Sanne Grinovero d3fdb657d6 HHH-13859 Avoid attempting to index a module-info.class via Jandex 2020-02-11 15:11:07 +00:00
Andrea Boriero 5defe54d31 HHH-13856 Fix Oracle failing tests 2020-02-10 14:52:32 +00:00
gavinking bb10a8ce27 As suggested by @romainmoreau and @aklish, use 'cascade' in H2 1.4.200+
See https://github.com/hibernate/hibernate-orm/pull/3093

Also fix up some confusing/wrong handling of H2 version numbers and
delete some obsolete commented code.
2020-02-09 15:49:32 +01:00