Spring Download Download Manager Timeout

I am using spring-boot-starter-data-jpa from Spring Boot 1.4.2.

Everything works fine (detecting @Entity classes, data autoconfiguration, transaction autoconfiguration, EntityManager autoconfiguration).

I cannot find where the transaction timeout can be set. Since I want to use Spring Boot as deep as possible, I don't want to programmatically declare a bean transaction manager in any Config file.

The " link to public application properties " only indicates timeouts for JTA transaction managers, but not for auto-configuration one for simple use of JPA. Please note that I am not looking for a jdbc request timeout.

Any ideas?

+4
source share
1 answer

Newer versions seem to support it with



    spring.transaction.default-timeout= # Default transaction timeout in seconds.

+2
source

Source: https://habr.com/ru/post/1660921/


All Articles