Question

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 ?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top