relase before hibernate mapings