upgard to hibernate 4 and sum structur modification