Skip to content

Rollback transactions in case if Exception was thrown #23789

Closed
@raderio

Description

@raderio

At the moment a transaction is rollback only if it was thrown a RuntimeException.

In Kotlin there is no checked exceptions, so compiler to do not force to check when is was thrown an Exception.
When some library from Java throw an Exception, in Kotlin methods with @Transactional annotation do not rollback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions