Fix HQLTest issue and javadoc aggregation
This commit is contained in:
parent
1f9a6f43f1
commit
a81f9d3e2d
|
@ -4436,8 +4436,13 @@ public abstract class BaseSqmToSqlAstConverter<T extends Statement> extends Base
|
|||
? pluralAttributeMapping.getIndexDescriptor()
|
||||
: pluralAttributeMapping.getElementDescriptor();
|
||||
final ModelPart modelPart;
|
||||
if ( collectionPart instanceof EntityAssociationMapping ) {
|
||||
modelPart = ( (EntityAssociationMapping) collectionPart ).getKeyTargetMatchPart();
|
||||
if ( collectionPart instanceof OneToManyCollectionPart ) {
|
||||
final OneToManyCollectionPart toManyPart = (OneToManyCollectionPart) collectionPart;
|
||||
modelPart = toManyPart.getAssociatedEntityMappingType().getIdentifierMapping();
|
||||
// modelPart = pluralAttributeMapping.getKeyDescriptor().getTargetPart();
|
||||
}
|
||||
else if ( collectionPart instanceof ManyToManyCollectionPart ) {
|
||||
modelPart = ( (ManyToManyCollectionPart) collectionPart ).getKeyTargetMatchPart();
|
||||
}
|
||||
else {
|
||||
modelPart = collectionPart;
|
||||
|
|
|
@ -145,6 +145,7 @@ dependencies {
|
|||
javadocClasspath libs.jackson
|
||||
javadocClasspath gradleApi()
|
||||
javadocClasspath libs.jacksonXml
|
||||
javadocClasspath dbLibs.oracle
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue