Apache Derby DB Error Code XJ057 – Cannot commit a global transaction using the Connection, com

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

Error Message

XJ057- Cannot commit a global transaction using the Connection, com

Error Details

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