문제

I have method annotated:

@Transactional(timeout = 600)

and then in weblogic server configuration I have set JTA timeout to 60s. So which timeout will be used in this procedure ?

도움이 되었습니까?

해결책

I suppose, for all @Transactional methods/classes where no timeout is specified, the weblogic's default of 60 is taken. If you specify a timeout T (like in your example), than that one is taken. So in your case for that method it would be 600.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top