HHH-17460 - Ongoing JPA 32 work

This commit is contained in:
Andrea Boriero 2024-03-28 17:26:30 +01:00 committed by Steve Ebersole
parent edf2bd4ecf
commit edf09afd8c
2 changed files with 2 additions and 3 deletions

View File

@ -253,7 +253,6 @@ tasks.withType( Test.class ).each { test ->
test.filter {
// todo (7.0) : we should go back to these tests
excludeTestsMatching 'EmbeddableGenericsAndInterfaceTest'
excludeTestsMatching 'GenericMapAssociationTest'
}
}

View File

@ -1479,7 +1479,7 @@ public class HbmXmlTransformer {
}
private JaxbManyToOneImpl transformManyToOne(final JaxbHbmManyToOneType hbmNode) {
if ( hbmNode.getNotFound() != JaxbHbmNotFoundEnum.EXCEPTION ) {
if ( hbmNode.getNotFound() != null ) {
handleUnsupported( "`not-found` not supported for transformation" );
}
@ -1882,7 +1882,7 @@ public class HbmXmlTransformer {
if ( !(hbmOneToMany.getNode() == null || hbmOneToMany.getNode().isBlank() ) ) {
handleUnsupported( "`node` not supported for transformation" );
}
if ( hbmOneToMany.getNotFound() != JaxbHbmNotFoundEnum.EXCEPTION ) {
if ( hbmOneToMany.getNotFound() != null ) {
handleUnsupported( "`not-found` not supported for transformation" );
}