Commit Graph

10547 Commits

Author SHA1 Message Date
The Geeky Asian e808041477 HHH-13856 - Long-awaited TODOs done as an improvement
1. TODO: Remove duplicate method from ConstraintConstaint.java currently has two duplicate methods. 1. getColumnIterator()2. columnIterator()

Both the methods return the same value i.e. column.iterator().

One of them needs to be removed in order to reduce and clean the duplication. 

2. TODO: Change method name for getXmlFiles in BaseCoreFunctionalTestCaseCurrently, in BaseCoreFunctionalTestCase a method named getXmlFiles()has a TODO placed that suggests the method name to be changed to getOrmXmlFiles().

Since the method has a protected scope, there is a possibility it is being used by other clients. Hence, changing the method name in minor versions might break the code for clients.
2020-02-20 10:54:50 -06: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
Steve Ebersole 874fe8a42a https://github.com/asciidoctor/asciidoclet/pull/91
- re-disable as the Travis CI JDK 11 build did not like it
2020-02-19 13:35:07 -06:00
Steve Ebersole aa87f15708 https://github.com/asciidoctor/asciidoclet/pull/91
- re-disable as the Travis CI JDK 11 build did not like it
2020-02-19 13:35:07 -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
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