Skip to content

Transaction timeout does not work in SpringTransactionManager #1671

@atsutaka

Description

@atsutaka

I'm using Exposed with Spring Boot.

Transactions are managed using Spring's @Transactional .

A timeout can be set for @Transactional .
However, that doesn't seem to work when using Exposed's SpringTransactionManager.

for example

@Transactional(timeout = 3)
fun handle() {
  ...
  ...
}

Can you please tell me how to get the timeout to work correctly?

exposed version: 0.41.1
spring boot version: 3.0.1 (although using version 2 is not working)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions