Apache Derby DB Error Code XJ058 – Cannot rollback a global transaction using the Connection, c

In this blog post, let’s learn about the error message “XJ058- Cannot rollback a global transaction using the Connection, c” in Apache Derby Database and the description of the error.

Error Message

XJ058- Cannot rollback a global transaction using the Connection, c

Error Details

Cannot rollback a global transaction using the Connection, commit processing must go thru XAResource interface.