commit with hibernate entitymanager issues