Jun 12th, 2010, 05:30 PM
I have written my custom itemreader and am using a new instance of storedprocedure item reader to read form a stored procedure and store the resultset values in a list.
public void readPolicies(StoredProcedureItemReader<Policy> p)
ExecutionContext context = new ExecutionContext();
Policy policy = null;
while((policy = p.read()) != null)
p.open throws an error, cannot initialise reader. Can anyone tell me whats wrong...
Jun 17th, 2010, 07:40 PM
Make your reader scope as step and check other configurations for Job execution are your initializing them properly.