public CustomerPhone readCustomerPhoneById(Long customerPhoneId) { return (CustomerPhone) em.find( entityConfiguration.lookupEntityClass(CustomerPhone.class.getName()), customerPhoneId); }
public OfferCode readOfferCodeById(Long offerCodeId) { return (OfferCode) em.find(entityConfiguration.lookupEntityClass(OfferCode.class.getName()), offerCodeId); }