ent.setValueObject(pageDeliveryMetaDataVO);
ent = (PageDeliveryMetaData) createEntity(ent, db);
for(PageDeliveryMetaDataEntityVO entity : entitiesCollection)
{
PageDeliveryMetaDataEntity ent2 = new PageDeliveryMetaDataEntityImpl();
ent2.setPageDeliveryMetaData(ent);
ent2.setValueObject(entity);
ent2 = (PageDeliveryMetaDataEntity) createEntity(ent2, db);
}
ent.setEntities(entitiesCollection);
return ent.getValueObject();