-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate on bmsql_oorder_idx1 #19
Comments
Does it happen when running just one row or is this an issue under load?
…On Mon, Feb 21, 2022 at 9:20 AM williamsd-ppb ***@***.***> wrote:
Converted to use Informix and seeing the following exception.
13:46:21,577 [Thread-43] ERROR jTPCCTData : Unexpected SQLException in
NEW_ORDER
13:46:21,577 [Thread-43] ERROR jTPCCTData : Could not insert new row -
duplicate value in a UNIQUE INDEX column (Unique
Index:bmsql_oorder_idx1).(-239) ISAM error: duplicate value for a record
with unique key.(-100)
java.sql.SQLException: Could not insert new row - duplicate value in a
UNIQUE INDEX column (Unique Index:bmsql_oorder_idx1).(-239) ISAM error:
duplicate value for a record with unique key.(-100)
at
com.informix.util.IfxErrMsg.buildExceptionWithMessage(IfxErrMsg.java:416)
at com.informix.util.IfxErrMsg.buildIsamException(IfxErrMsg.java:401)
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3021)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3272)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2269)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2194)
at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:813)
at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java:225)
at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java:958)
at
com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java:322)
at jTPCCTData.executeNewOrder(jTPCCTData.java:530)
at jTPCCTData.execute(jTPCCTData.java:136)
at jTPCCTerminal.executeTransactions(jTPCCTerminal.java:328)
at jTPCCTerminal.run(jTPCCTerminal.java:146)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.sql.SQLException: ISAM error: duplicate value for a record
with unique key.
at
com.informix.util.IfxErrMsg.buildExceptionWithMessage(IfxErrMsg.java:416)
at com.informix.util.IfxErrMsg.buildException(IfxErrMsg.java:397)
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:371)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3276)
... 11 more
—
Reply to this email directly, view it on GitHub
<#19>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMWOHR62JYXZB33EWIKCCLU4JC35ANCNFSM5O6XOWQQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Converted to use Informix and seeing the following exception.
13:46:21,577 [Thread-43] ERROR jTPCCTData : Unexpected SQLException in NEW_ORDER
13:46:21,577 [Thread-43] ERROR jTPCCTData : Could not insert new row - duplicate value in a UNIQUE INDEX column (Unique Index:bmsql_oorder_idx1).(-239) ISAM error: duplicate value for a record with unique key.(-100)
java.sql.SQLException: Could not insert new row - duplicate value in a UNIQUE INDEX column (Unique Index:bmsql_oorder_idx1).(-239) ISAM error: duplicate value for a record with unique key.(-100)
at com.informix.util.IfxErrMsg.buildExceptionWithMessage(IfxErrMsg.java:416)
at com.informix.util.IfxErrMsg.buildIsamException(IfxErrMsg.java:401)
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3021)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3272)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2269)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2194)
at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:813)
at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java:225)
at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java:958)
at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java:322)
at jTPCCTData.executeNewOrder(jTPCCTData.java:530)
at jTPCCTData.execute(jTPCCTData.java:136)
at jTPCCTerminal.executeTransactions(jTPCCTerminal.java:328)
at jTPCCTerminal.run(jTPCCTerminal.java:146)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.sql.SQLException: ISAM error: duplicate value for a record with unique key.
at com.informix.util.IfxErrMsg.buildExceptionWithMessage(IfxErrMsg.java:416)
at com.informix.util.IfxErrMsg.buildException(IfxErrMsg.java:397)
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:371)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3276)
... 11 more
The text was updated successfully, but these errors were encountered: