diff --git a/build/parents/build/pom.xml b/build/parents/build/pom.xml index e6efdffcff8..3b7096692b4 100644 --- a/build/parents/build/pom.xml +++ b/build/parents/build/pom.xml @@ -93,7 +93,7 @@ NOTE: when Hibernate ORM updates Byte Buddy, make sure to check Jenkinsfile to see if `net.bytebuddy.experimental` property can be removed. --> - 6.6.0.Final + 6.6.1.Final https://docs.jboss.org/hibernate/orm/${parsed-version.org.hibernate.orm.majorVersion}.${parsed-version.org.hibernate.orm.minorVersion}/javadocs/ https://docs.jboss.org/hibernate/orm/${parsed-version.org.hibernate.orm.majorVersion}.${parsed-version.org.hibernate.orm.minorVersion}/userguide/html_single/Hibernate_User_Guide.html diff --git a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInheritanceIT.java b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInheritanceIT.java index 68fcaa83088..6ea029433c2 100644 --- a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInheritanceIT.java +++ b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInheritanceIT.java @@ -245,8 +245,9 @@ void singleEntity_notTopOne() { statementInspector.hasSelects( 3 ) // select count(bv1_0.id) from bedvehicle bv1_0 .anyMatch( "select count(_big)?\\([a-z0-9_.]+\\) from bedvehicle [a-z0-9_.]+" ) - // select bv1_0.id from bedvehicle bv1_0 - .anyMatch( "select [a-z0-9_.]+ from bedvehicle [a-z0-9_.]+" ) + // there can be an additional join see https://hibernate.atlassian.net/browse/HHH-18503?focusedCommentId=116667 + // select bv1_1.id from bedvehicle bv1_0 join baseentity bv1_1 on bv1_0.id=bv1_1.id + .anyMatch( "select [a-z0-9_.]+ from bedvehicle [a-z0-9_.]+ join baseentity [a-z0-9_.]+ on [a-z0-9_.=]+" ) // select bv1_0.id,bv1_1.type,bv1_2.bodytype,bv1_3.doortype,bv1_0.bedtype,bv1_4.truckroof // from bedvehicle bv1_0 join baseentity bv1_1 on bv1_0.id=bv1_1.id join basevehicle bv1_2 on bv1_0.id=bv1_2.id join dooredvehicle bv1_3 on bv1_0.id=bv1_3.id left join truck bv1_4 on bv1_0.id=bv1_4.id where bv1_0.id=? .anyMatch( "select [a-z0-9_.,]+ from bedvehicle [a-z0-9_.]+ " @@ -383,8 +384,9 @@ void multipleSameBranch() { statementInspector.hasSelects( 3 ) // select count(bv1_0.id) from bedvehicle bv1_0 .anyMatch( "select count(_big)?\\([a-z0-9_.]+\\) from bedvehicle [a-z0-9_.]+" ) - // select bv1_0.id from bedvehicle bv1_0 - .anyMatch( "select [a-z0-9_.]+ from bedvehicle [a-z0-9_.]+" ) + // there can be an additional join see https://hibernate.atlassian.net/browse/HHH-18503?focusedCommentId=116667 + // select bv1_1.id from bedvehicle bv1_0 join baseentity bv1_1 on bv1_0.id=bv1_1.id + .anyMatch( "select [a-z0-9_.]+ from bedvehicle [a-z0-9_.]+ join baseentity [a-z0-9_.]+ on [a-z0-9_.=]+" ) // select bv1_0.id,bv1_1.type,bv1_2.bodytype,bv1_3.doortype,bv1_0.bedtype,bv1_4.truckroof // from bedvehicle bv1_0 join baseentity bv1_1 on bv1_0.id=bv1_1.id join basevehicle bv1_2 on bv1_0.id=bv1_2.id join dooredvehicle bv1_3 on bv1_0.id=bv1_3.id left join truck bv1_4 on bv1_0.id=bv1_4.id where bv1_0.id=? .anyMatch( "select [a-z0-9_.,]+ from bedvehicle [a-z0-9_.]+ "