Finalyiing the hibernate mapping