* Fetchs from the database all fields in the actual fetch plan.
* Called by life-cycle transitions.
*/
public void loadUnloadedFieldsOfClassInFetchPlan(FetchPlan fetchPlan)
{
FetchPlanForClass fpc = fetchPlan.manageFetchPlanForClass(this.cmd);
int[] fieldNumbers = getFlagsSetTo(loadedFields, fpc.getFieldsInActualFetchPlan(), false);
if (fieldNumbers != null && fieldNumbers.length > 0)
{
boolean callPostLoad = fpc.isToCallPostLoadFetchPlan(this.loadedFields);
getStoreManager().getPersistenceHandler().fetchObject(this, fieldNumbers);
updateLevel2CacheForFields(fieldNumbers);
if (callPostLoad)
{
postLoad();