6081 Commits

Author SHA1 Message Date
w1ida
28b8cebf9d HHH-13873 IdTableHelper can skip opening a connection when there's no statements to execute 2020-02-20 15:15:59 +00:00
Nathan Xu
86a8106696 correct an obvious coding bug 2020-02-20 07:06:43 -06:00
gavinking
b1d7bad4ef Move a couple of log messages to ConnectionPoolingLogger
For consistency.
2020-02-20 12:08:07 +01:00
gavinking
78423a8d55 Move Dialect logging to DialectFactoryImpl
As suggested by @Sanne.
2020-02-20 12:06:45 +01:00
Steve Ebersole
285b7d8696 @Version support
- improved design where EntityVersionMapping simply has a (delayed) reference to the version attribute and provides easier access to often used information
2020-02-19 13:56:26 -06:00
Christian Beikov
28b5f493b9 Determine type of self rendering function lazily during type access 2020-02-19 12:13:19 -06:00
Steve Ebersole
ab6d1953d6 initial work on @Version support
- by side effect fixed batch collection loading
2020-02-19 12:10:16 -06:00
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
2660007df9 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_24 2020-02-14 11:36:06 +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
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