manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Thu, 21 Oct 2010 13:02:00 GMT
Space: Apache Connectors Framework (
Page: How to Write an Output Connector (

Comment added by Karl Wright:

The only other transaction error that DATABASE_TRANSACTION_ABORT can represent is deadlock. 
So unless you are in a transaction you should not see that one.\\

In reply to a comment by Farzad:
You were right : ) Here is what you get, when I added:

ArrayList list = new ArrayList();
addTableIndex(true, list);

Error: ERROR: duplicate key value violates unique constraint "i1287662986761" Detail: Key
(hashsum, dupnum)=(C46875547F6B97BAC41132F6F8A057CC10060FBC69B5B26428D6D561E00AE1F1B1C8BBD5664FC4C94E95A5AC31045C3EAA8AE11DB19A697CC410F3EC9E233D38,
1) already exists.

So I don't see how to isolate the primary key violation.  All I see in ManifoldCFException
is DATABASE_TRANSACTION_ABORT, which is what I get when I call getErrorCode(). How do I know
I have a primary key violation vs other transaction errors?

Change your notification preferences:

View raw message