Assume that you configure JDBC XA transactions after SQL Server database is installed. When you try to use the JDBC transaction on SQL Server 2017 on Linux, you may receive an error message that resembles the following:

main" javax.transaction.xa.XAException: Failed to create the XA control connection. Error: "Procedure expects parameter '@errormegssage' of type 'nchar'."


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


This issue is fixed in the following cumulative update for SQL Server:

NoteĀ For this fix to take effect, you need to enable the Trace Flag (TF) 8291.

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!