-
Bug
-
Resolution: Done
-
Major
-
JDG 7.2 ER1
-
None
JDBC CacheStore Passivating data into MSSql 2012 DB will fail with following error (Full stacktrace in attachment):
ISPN008024: Error while storing string key to database; key: 'key': com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_EDG_INVA_3213E83F43843313'. Cannot insert duplicate key in object 'dbo.EDG_INVAL_memcachedCache'. The duplicate key value is (key).
...
ISPN000136: Error executing command PutKeyValueCommand, writing keys [key]: org.infinispan.persistence.spi.PersistenceException: Error while storing string key to database; key: 'key'
at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.write(JdbcStringBasedStore.java:128)
...
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_EDG_INVA_3213E83F43843313'. Cannot insert duplicate key in object 'dbo.EDG_INVAL_memcachedCache'. The duplicate key value is (key).
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)