The effects of temperature on the solubility of solids depend on the endothermic and exothermic reaction. In endothermic reaction more of the solid is dissociated while in exothermic reaction less of solid is dissociated. Dissolution of KNO3 and CaSO4 in water are endothermic and exothermic respectively.