HHH-15286 Query with a Composite Identifier (@IdClass) throws an exception
This commit is contained in:
parent
00e8506a13
commit
6409db767d
|
@ -153,6 +153,9 @@ public class DefaultLoadEventListener implements LoadEventListener {
|
|||
return;
|
||||
}
|
||||
}
|
||||
else if ( idClass.isInstance( event.getEntityId() ) ) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if ( idMapping instanceof NonAggregatedIdentifierMapping ) {
|
||||
if ( idClass.isInstance( event.getEntityId() ) ) {
|
||||
|
|
Loading…
Reference in New Issue