on 01-24-2007 6:58 PM
Hi Friends,
I am working on a receiver JDBC adapter .I caught with an error <b>Unique constraint violated</b> I know this occur when we are trying to insert a record with a duplicate key value.But question is i am using UPDATE_INSERT action , in this case it record exits it should update the record. .Then why it is happening like this?Can any one answer to me and correct me if i am wrong?
Ravi,
Can you just execute the query at the database level and see whether it is working fine or not? If it is in production please take care.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friends,
JDBC receiver :
If even one record is error out in the receiver JDBC query rest of the success records are not posting .If there any when that i can send success records even some records are error out.
I configured RECEIVER Jdbc :
Transaction Isolation level ; serializable
and checked Database auto commit Enabled.
Please let me know if any thing i have to do to meet this?
Did you pass the correct primary key values to UPDATE_INSERT. Looks like its trying to insert and its failing since its not finding the key value when its first searches for the record. Please make sure that you are passing all Primary key fields in the UPDATE_INSERT.
--Archana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.