Posted: Wed Apr 20, 2005 12:42 am Post subject: Java Plugin Node
Voyager
Joined: 10 Mar 2005 Posts: 76
Hi all,
I have written a custom java node that inserts a row into an oracle database. Why use a custom node? Well the Merant driver will only insert a CLOB of <4k into the database and I want to insert a bigger CLOB (hence a clob).
I am now wondering how to make this node obey the flow's transactional properties. At present it appears to write to the DB and commit straight away.
The only JDBC drivers that you are supposed to be able to use in plug-in nodes are Type 4 drivers.
And I don't know of any functions in the plug-in API that allow you to get the current transaction from the broker, or receive notification of the status of the current transaction.
Are you explicitly issuing a commit in your code? Try leaving all transactional stuff out and see what happens. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum