manage hibernate transaction commit