Hi Experts,
I have below requirement.
Pull all products (ID and NAME) where category = "ATM". There is already a stored procedure get_products.
CREATE PROCEDURE [dbo].[get_products]
@category varchar(10)
AS
BEGIN
select product.id, product.name from Product where TYPE = @category
END;
This pulls about 10,000 rows of data.
Now it should be split into 2000 rows each.
Then setup a batch job that picks 2000 rows each every 1 hour from DB.
I am using JDBC sender channel.
Is it possible to achieve this in PI JDBC sender?
Will PI JDBC sender keep polling the DB?
Will this be Synchronous call?
How using JDBC sender can I call the above stored procedure, pass input category parameter and get output?
Also how can I pull 2000 rows in PI? Does batch job to split and send 2000 rows make sense? Where shall this job reside?
Please help?
Thanks
Gopal