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.getIndexDescriptor()
|
||||||
: pluralAttributeMapping.getElementDescriptor();
|
: pluralAttributeMapping.getElementDescriptor();
|
||||||
final ModelPart modelPart;
|
final ModelPart modelPart;
|
||||||
if ( collectionPart instanceof EntityAssociationMapping ) {
|
if ( collectionPart instanceof OneToManyCollectionPart ) {
|
||||||
modelPart = ( (EntityAssociationMapping) collectionPart ).getKeyTargetMatchPart();
|
final OneToManyCollectionPart toManyPart = (OneToManyCollectionPart) collectionPart;
|
||||||
|
modelPart = toManyPart.getAssociatedEntityMappingType().getIdentifierMapping();
|
||||||
|
// modelPart = pluralAttributeMapping.getKeyDescriptor().getTargetPart();
|
||||||
|
}
|
||||||
|
else if ( collectionPart instanceof ManyToManyCollectionPart ) {
|
||||||
|
modelPart = ( (ManyToManyCollectionPart) collectionPart ).getKeyTargetMatchPart();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
modelPart = collectionPart;
|
modelPart = collectionPart;
|
||||||
|
|
|
@ -145,6 +145,7 @@ dependencies {
|
||||||
javadocClasspath libs.jackson
|
javadocClasspath libs.jackson
|
||||||
javadocClasspath gradleApi()
|
javadocClasspath gradleApi()
|
||||||
javadocClasspath libs.jacksonXml
|
javadocClasspath libs.jacksonXml
|
||||||
|
javadocClasspath dbLibs.oracle
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue