hibernate mapping change for spaceid