HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC)

This commit is contained in:
Gail Badner 2013-07-29 13:26:16 -07:00 committed by Steve Ebersole
parent e1105fb6d3
commit ba0d14546c
2 changed files with 5 additions and 1 deletions

View File

@ -3859,6 +3859,11 @@ public abstract class AbstractEntityPersister
createLoaders();
createUniqueKeyLoaders();
createQueryLoader();
doPostInstantiate();
}
protected void doPostInstantiate() {
}
//needed by subclasses to override the createLoader strategy

View File

@ -1025,7 +1025,6 @@ public class SingleTableEntityPersister extends AbstractEntityPersister {
}
protected void doPostInstantiate() {
super.postInstantiate();
if (hasSequentialSelects) {
String[] entityNames = getSubclassClosure();
for ( int i=1; i<entityNames.length; i++ ) {