Pregunta

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 ?

¿Fue útil?

Solución

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 bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top