incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Sat, 23 Oct 2010 07:31:00 GMT
Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS)
Page: How to Write an Output Connector (https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector)

Comment edited by Karl Wright :
---------------------------------------------------------------------
It sounds like you are performing transactions within your connector and not structuring them
properly.  All transactions MUST be structured using the following paradigm, which
you should see in the web connector classes I pointed you towards earlier:

begin transaction

try

\{

...

\}

catch (any exceptions)

\{

  signalrollback

  rethrow exception

\}

finally

\{

  endtransaction

\}

Comment was previously :
---------------------------------------------------------------------
It sounds like you are performing transactions within your connector and not structuring them
properly.  All transactions MUST be structured using the following paradigm, which
you should see in the web connector classes I pointed you towards earlier:

begin transaction

try

{

...

}

catch (any exceptions)

{

  signalrollback

  rethrow exception

}

finally

{

  endtransaction

}

Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action

Mime
View raw message