cancel
Showing results for 
Search instead for 
Did you mean: 

Can we able to pull the data dynamically based on the runtime parameters

Former Member
0 Kudos

Hello,

I want to pull the data from database dynamically using some runtime parameters through my JDBC sender channel.

For Eg.,

I want to give the SQL queries like this,

select ino,iname from Itable where sal = '?'

update Itable set processed = 'yes' where sal = '?'

Is it possible to give it like this in channel configuration of sender JDBC adapter?

Can you please help me in this regard with a reason?

Thanks,

Surya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You have to use Stored Procedures to achieve this.

Former Member
0 Kudos

can you please explain how you acheive that as i already tried that option but couldnt work it out.

Give an example how we can acheive it thru stored procedures.

Urs,

Surya

Former Member
0 Kudos

What do you mean by dnamic values? How are these calculated?

The procedure for computing these values must be incorporated in the SP and you have to invoke this SP from XI.

Regards,

Jai Shankar

Former Member
0 Kudos

i mean to say about dynamic values as,

if you give the message ID in the where clause condition which we want to update the database as per the message processed.

so can we do it ?

Former Member
0 Kudos

>>if you give the message ID in the where clause condition which we want to update the database as per the message processed.

Still not clear about your statement. You want to give the Msg Id generated in XI in where clause? If so why? What are you trying to achieve by this?

Regards,

Jaishankar