سؤال

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