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.

Har du brug for mere hjælp?

Udvid dine færdigheder
Gå på opdagelse i kurser
Få nye funktioner først
Deltag i Microsoft insiders

Var disse oplysninger nyttige?

Hvad påvirkede din oplevelse?

Tak for din feedback!