HHH-12684 - Hibernate fails when mapping one-to-many collections by non-primary key
Fix indentation issue due to multi-line formatting
This commit is contained in:
parent
e6ea4828db
commit
ed34a25769
|
@ -78,8 +78,7 @@ public abstract class AbstractPluralAttributeSourceImpl
|
||||||
if ( childClass != null ) {
|
if ( childClass != null ) {
|
||||||
jaxbHbmManyToOneTypeOptional = mappingDocument.getDocumentRoot().getClazz()
|
jaxbHbmManyToOneTypeOptional = mappingDocument.getDocumentRoot().getClazz()
|
||||||
.stream()
|
.stream()
|
||||||
.filter( (JaxbHbmRootEntityType entityType) ->
|
.filter( (JaxbHbmRootEntityType entityType) -> childClass.equals( entityType.getName() ) )
|
||||||
childClass.equals( entityType.getName() ) )
|
|
||||||
.flatMap( jaxbHbmRootEntityType -> jaxbHbmRootEntityType.getAttributes().stream() )
|
.flatMap( jaxbHbmRootEntityType -> jaxbHbmRootEntityType.getAttributes().stream() )
|
||||||
.filter(
|
.filter(
|
||||||
attribute -> attribute instanceof JaxbHbmManyToOneType &&
|
attribute -> attribute instanceof JaxbHbmManyToOneType &&
|
||||||
|
|
Loading…
Reference in New Issue