HHH-8776 fix check style issue
This commit is contained in:
parent
f3cfff5cee
commit
29f905dafc
|
@ -457,6 +457,7 @@ public final class TwoPhaseLoad {
|
||||||
AttributeNodeImplementor<Object> attributeNode = context.findAttributeNode( associationName );
|
AttributeNodeImplementor<Object> attributeNode = context.findAttributeNode( associationName );
|
||||||
if ( attributeNode != null ) {
|
if ( attributeNode != null ) {
|
||||||
if ( associationType.isCollectionType() ) {
|
if ( associationType.isCollectionType() ) {
|
||||||
|
// to do: deal with Map's key and value
|
||||||
session.setFetchGraphLoadContext( null );
|
session.setFetchGraphLoadContext( null );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -464,7 +465,8 @@ public final class TwoPhaseLoad {
|
||||||
GraphImplementor<?> subContext = attributeNode.getSubGraphMap().get( associationType.getReturnedClass() );
|
GraphImplementor<?> subContext = attributeNode.getSubGraphMap().get( associationType.getReturnedClass() );
|
||||||
if ( subContext != null ) {
|
if ( subContext != null ) {
|
||||||
session.setFetchGraphLoadContext( subContext );
|
session.setFetchGraphLoadContext( subContext );
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
session.setFetchGraphLoadContext( null );
|
session.setFetchGraphLoadContext( null );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue