ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java Plugin Node

Post new topic  Reply to topic
 Java Plugin Node « View previous topic :: View next topic » 
Author Message
hallmark
PostPosted: Wed Apr 20, 2005 12:42 am    Post subject: Java Plugin Node Reply with quote

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.

Any thoughts,

Thanks in advance

Rob
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Apr 20, 2005 2:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Wrong forum, moving to WMQI support
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Wed Apr 20, 2005 3:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You may not be able to do this.

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java Plugin Node
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.