This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
Shape the future of IBM!
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Search existing ideas
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updateson them if they matter to you. If you can't find what you are looking for,
Post your ideas
Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,
Post an idea
Upvote ideas that matter most to you
Get feedback from the IBM team to refine your idea
Specific links you will want to bookmark for future use
Within an application, the failure scenarios are being stored in the database, along with the exception messages. This helps in a meaningful report generation, and determination of the cause of the failure. In this particular case, when we try to insert an user with a duplicate ID (the ID is already present in the DB), following is the exception text returned by DB2 vs Oracle:
Error inserting User [sc_user1] due to : ORA-00001: unique constraint (IGA_CORE.USER_ERC_PK) violated
Error inserting User [sc_user1] due to : DB2 SQL Error: SQLCODE=-803, SQLSTATE=23505, SQLERRMC=1;
The emboldened text is the message returned by the jcc driver.
As we can see, the error message in Oracle is pretty clear about the error, whereas, the exception returned by the DB2 jcc driver is rather cryptic.
The expectation here, for the DB2 jcc driver is to provide a more descriptive message similar to what Oracle does.
Do not place IBM confidential, company confidential, or personal information into any field.