Corrected hibernate mapping