[infinispan-issues] [JBoss JIRA] (ISPN-7292) SQL Server Upsert Errors

Tristan Tarrant (JIRA) issues at jboss.org
Tue Jan 17 05:28:00 EST 2017


     [ https://issues.jboss.org/browse/ISPN-7292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-7292:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.0.0.Beta2
                   9.0.0.Final
       Resolution: Done


> SQL Server Upsert Errors
> ------------------------
>
>                 Key: ISPN-7292
>                 URL: https://issues.jboss.org/browse/ISPN-7292
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 9.0.0.Beta1
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>             Fix For: 9.0.0.Beta2, 9.0.0.Final
>
>
> When utilising upserts with SQL server an SQL exception is thrown due to a `ambiguous column name`. 
> The existing upstert statement also causes concurrency issues as SQL server does not handle MERGE statements atomically. Consequently it is necessary for a table lock to be acquired per merge statement in order to prevent deadlocks from occurring. See [here|https://www.mssqltips.com/sqlservertip/3074/use-caution-with-sql-servers-merge-statement/] for more details.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list