JDBC Adapter Canbt rollback active transaction error

I am getting the following error message when running DB transactions:

[ART.117.4036] Adapter Runtime (Adapter Service): Unable to rollback transaction. Transaction state:Transaction is active .

Does anyody know why this error would occur, or how it could be corrected?

I have faced similar problem but problem was in a single flow i was trying to make two sequential database calls in this scenario for each call you need to explicitly open and close transaction. Are u trying to do same?