Posted: Tue Jun 15, 2010 6:44 am Post subject: Immediate commit through esql
Partisan
Joined: 10 Jan 2008 Posts: 333
I need to perform some database operation and then do immediate commit on them, so that next step (sub flow) in the same flow can get those data available in the database. Please help how I can achieve this.
Scenario
File Input -> Compute -> Subflow -> MQ Output
This requirement does not just gets satisfied by the transaction property of the compute node because Even if I mention Commit there it commits only when the complete flow gets finished, which I do not want.
Is JCN is the only solution ? or this is achievable through PASSTHRU though I am failing now.
Posted: Tue Jun 15, 2010 7:02 am Post subject: Re: Immediate commit through esql
Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
ghoshly wrote:
I need to perform some database operation and then do immediate commit on them, so that next step (sub flow) in the same flow can get those data available in the database. Please help how I can achieve this.
do a passthru("COMMIT") in ESQL
or basic java SQL Parser to do the commit using JCN
ghoshly wrote:
Scenario
File Input -> Compute -> Subflow -> MQ Output
This requirement does not just gets satisfied by the transaction property of the compute node because Even if I mention Commit there it commits only when the complete flow gets finished, which I do not want.
Is JCN is the only solution ? or this is achievable through PASSTHRU though I am failing now.
you can achieve it using PASSTHRU function _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
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