@Override public void close() throws ItemStreamException { super.close(); currentItemCount = 0; currentItemIndex = 0; try { doClose(); } catch (Exception e) { throw new ItemStreamException("Error while closing item writer", e); } }
@Override public void close() throws ItemStreamException { super.close(); currentItemCount = 0; currentItemIndex = 0; try { doClose(); } catch (Exception e) { throw new ItemStreamException("Error while closing item writer", e); } }