Fix "Transaction not successfully started".

This commit is contained in:
FireMasterK 2021-07-21 02:27:02 +05:30
parent b064d577a8
commit d6e998eef7
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -903,6 +903,8 @@ public class ResponseHelper {
s.update(video);
if (!s.getTransaction().isActive())
s.getTransaction().begin();
s.getTransaction().commit();
}