Dissolving is just when water bonds and separates the cation and anion. Water's polarity is the reason why it surrounds each ion and separates it from the oppositely charged ion thus dissolving it....
water dissolves ALL ionic and ALL polar compound's; examples of each are; Polar compound's, ethanol, ammonia, Hydrogen Fluoride, sulphur dioxide, acetone Ionic compounds, sodium chloride potassium...