Only the container side is required to check if refresh is called with a JTA transaction.