it strongly depends on a structure of both reagents. In general: ester bond is sensitive to acidic as well as basic environment. In addition HCl is an acidic, corrosive by-product. These two problems should be taken into consideration during designing of reaction and separation steps. I would check the literature about this type of industrial processes as well.
Assuming your ester does not have any other hydrophilic functional group. You can try to extract in to ethyl acetate from the a water/ethyl acetate mixture.