Closed
Description
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.