When you use XA transactions, Microsoft SQL Server JDBC Driver, and Microsoft SQL Server as the back-end database, you may have orphaned transactions pending on the SQL Server if the transaction manager experiences a crash or a connectivity issue.
Additionally, you may experience one of the following common symptoms:
Additionally, you may experience one of the following common symptoms:
- Transactions are pending for a long time on the instance of SQL Server. They may have either a null or -2 session ID in the database.
- Transactions are blocked for a long time by a transaction that has a -2 session ID. This causes a lock time-out or threads to freeze.