Xstore V23.0.2 upgrade - unique constraint (DTV.PK_TRN_TRANS)
Hi,
We have done an upgrade from v16 to v23 in 2 pilot stores involving 7 terminals.
Customer already executed hundred of transaction but we have identified 2 of them with the following Unique Constraint issue:
ERROR [2766 ] 2025-10-10 14:07:02,128 Constraint Violation while persisting object: [dtv.xst.dao.trl.impl.RetailTransactionModel@4ced3fbe Id : 1000::12::1760054400000::2::2766, dtv.xst.dao.trn.impl.TransactionVersionModel@36163b90 Id : 1000::12::2::1760054400000::2766] :: dtv.data2.access.pm.PersistenceManager [REGISTER:OCP [User]]
dtv.data2.access.exception.ConstraintViolationException: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DTV.PK_TRN_TRANS) violated
This happens at the moment the customer select the printing mode and xstore tries to persist the transaction.