Avoid trouble with managed transactions