i have this exception, can you help me :
org.springframework.batch.item.ReaderNotOpenExcept ion: Reader must be open before it can be read.
my dao classe where i use my itemreader
Code:public class FileADCDao extends JdbcDaoSupport implements IFileADCDao { private ItemReader itemReader; public BeanADC saveAdcFile() { String ligne=""; BeanADC beanADC = new BeanADC(); try { ligne = itemReader.read().toString(); //ligne = "1010;5151;51515;5515"; } catch (Exception e) { e.printStackTrace(); } beanADC = repartir(ligne); return(beanADC); }


Reply With Quote
