/**
  * Retrieve a single object by pkey.
  *
  * @param      int $pk the primary key.
  * @param      PropelPDO $con the connection to use
  * @return     DistributionProfile
  */
 public static function retrieveByPK($pk, PropelPDO $con = null)
 {
     if (null !== ($obj = DistributionProfilePeer::getInstanceFromPool((string) $pk))) {
         return $obj;
     }
     $criteria = new Criteria(DistributionProfilePeer::DATABASE_NAME);
     $criteria->add(DistributionProfilePeer::ID, $pk);
     $v = DistributionProfilePeer::doSelect($criteria, $con);
     return !empty($v) > 0 ? $v[0] : null;
 }