Pergunta

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 ?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top